nineten Posted August 14, 2012 Share Posted August 14, 2012 Hi, if anyone could help, that would be great. prestashop version 1.3.1. AdminProducts.php i need to change this line of code so it has a 'j' after the '$' symbol. $(document).ready(function() { needs to be $j(document).ready(function() { So in the code, roughly line 1059 it says this:- echo '<script type="text/javascript"> var toload = new Array(); toload[3] = true; toload[4] = true; toload[5] = true; toload[6] = true; toload[7] = true; function loadTab(id) {'; and it then outputs this in the page:- <script type="text/javascript"> $(document).ready(function() { id_language = 1; languages = new Array(); languages[0] = { id_lang: 1, iso_code: 'en', name: 'English (English)' }; displayFlags(languages, id_language, 0); }); </script> where can i find where to change that code so i have $j(document).ready(function() { thanks! Jeremy 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