musicmaster Posted September 20, 2015 Share Posted September 20, 2015 I have a module that causes in the backoffice of one shop a javascript error ($ is not defined) while in another it gives no problem. I suspect it may have something to do with the template but I am not sure. When I looked in the source code I saw something interesting. In the problematic shop this module is loaded before Jquery and in the other shop the first three of the included Jquery files are loaded before it, Does anyone have any idea what goes wrong and how I could deal with it? In both shops it is the most recently installed module. Link to comment Share on other sites More sharing options...
El Patron Posted September 20, 2015 Share Posted September 20, 2015 I would look at the module function hookHeader to see if checks for scenario (version for example) and then calls the javascript differently. Link to comment Share on other sites More sharing options...
musicmaster Posted September 20, 2015 Author Share Posted September 20, 2015 The shops are both PS 1.6.1. They call the same file and there are in the code no different scenario's for including the JS file. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now