fts_instant_product_search.js error
Working on a client site, I discovered that if you remove the search form from your templates, you start getting javascript errors if you are using the fts_instant_product_search feature. The errors can be fixed by adding a line to the fts_instant_product_search.js file:
FIND: Code:
addEvent(window, "load", pInit); It should be the last line of the file. BEFORE ADD: Code:
if(document.productsearchform) That will stop the init function for the search javascripts from being called if there's no search form on your page. |
Re: fts_instant_product_search.js error
Isn't fts an add-on? If so, isn't it a bug with the add-on and not X-Cart?
|
Re: fts_instant_product_search.js error
It's not a bug on either, Mr Brewer just breaking our stuff ;)
|
Re: fts_instant_product_search.js error
Heh. Moving to Third Party Add-Ons
|
All times are GMT -8. The time now is 09:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.