Jump to content

[Bo] Js File Not Loading In Proper Order If Not Logged As Admin


Recommended Posts

As soon as i'm not logged in the back end as the Admin the javascript files are not loaded in the proper order. Jquery come only in the middle of the file list.

Obviously all previous jquery related files trigger an error : ReferenceError: jQuery is not defined

This ONLY happend when a non admin user is logged in and this prevent users to use most of the modules.

 

I've tried to find a solution for hours now, can't find it. Any help would be greatly appreciated.

 

version : '1.6.0.14'

 

JS Files as they load appear in the <head>

<script type="text/javascript" src="/js/jquery/ui/jquery.ui.widget.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.tablednd.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/jquery.iframe-transport.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/jquery.fileupload.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/jquery.fileupload-process.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/jquery.fileupload-validate.js"></script>
<script type="text/javascript" src="/js/vendor/spin.js"></script>
<script type="text/javascript" src="/js/vendor/ladda.js"></script>
<script type="text/javascript" src="/modules/seagnaturecruiseimport/views/js/sweetalert.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.scrollTo.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/alerts/jquery.alerts.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.chosen.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.autosize.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/fancybox/jquery.fancybox.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/growl/jquery.growl.js"></script>
<script type="text/javascript" src="/js/jquery/ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="/js/jquery/ui/jquery.ui.mouse.min.js"></script>
<script type="text/javascript" src="/js/jquery/ui/jquery.ui.slider.min.js"></script>
<script type="text/javascript" src="/js/jquery/ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="/js/jquery/ui/i18n/jquery.ui.datepicker-fr.js"></script>
<script type="text/javascript" src="/js/admin.js"></script>
<script type="text/javascript" src="/js/tools.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/timepicker/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/vendor/bootstrap.min.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/vendor/modernizr.min.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/modernizr-loads.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/vendor/moment-with-langs.min.js"></script>
<script type="text/javascript" src="/admin1106/themes/default/js/help.js"></script>
<script type="text/javascript" src="/js/admin/notifications.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.tablefilter.js"></script>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...