Alldo Group Posted January 28, 2010 Share Posted January 28, 2010 Hello all!I have this annoying javascript error when selecting attribute.It only seems to occur in IE... PS version is 1.2.4.Anyone have an idea? Message: Invalid argument. Line: 309 Char: 2 Code: 0 URI: http://www.*******.qaz/themes/prestashop/js/product.js Link to comment Share on other sites More sharing options...
tomerg3 Posted January 28, 2010 Share Posted January 28, 2010 Have you modified that file?What's on line 309?Can you give the URL of you site so we can see it? Link to comment Share on other sites More sharing options...
Alldo Group Posted January 28, 2010 Author Share Posted January 28, 2010 Hi!No I haven't done anything with that file. I have some other javascript, placed in header.tpl, inside {literals}.Maybe they conflict with eachother?! 308 } 309 $('#thumbs_list_frame').width((parseInt(($('#thumbs_list_frame >li').width())* i) + 3) + 'px'); // Bug IE6, needs 3 pixels more ? 310 $('#thumbs_list').trigger('goto', 0); 311 serialScrollFixLock('', '', '', '', 0);// SerialScroll Bug on goto 0 ? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 28, 2010 Share Posted January 28, 2010 Looks like you removed the thumbnail from product.tpl.The javascript error seems to be related to the function that changes the thumbs.Try changing product.js (line 298) function refreshProductImages(id_product_attribute) { return; (keep the rest of the code here in case you need to use it later) } Link to comment Share on other sites More sharing options...
Alldo Group Posted January 28, 2010 Author Share Posted January 28, 2010 Works! What fantastic service and help, very much appreciated, tank you - thank you It's a pain in the... ...to be a perfectionist Link to comment Share on other sites More sharing options...
Recommended Posts