|
|
Click error |
Hi,
I'm getting this error onclick
ReferenceError: event is not defined http://....notifywhenavailable/notifywhenavailable.js Line 4
I'm getting it when the onclick goes to the NWA override of the function addToCart, passing product_id and quantity. It's looking for the variable clickedButton in the event.target. How is this method able to get that element? It is not passed as this and it's not coming from a jquery .click(). What's up with that?
Might I add this is on version 1.2
Thanks
This was a known issue with the javascript code of v.1.2 of NotifyWhenAvailable and it also was causing issues with the proper displaying of the popup on Mozilla Firefox. The code was reworked in version 1.2.2 of NotifyWhenAvailable while the current version of the module available for download is v.1.5.
I will suggest you to update your current version of the module or at least update the javascript code for this functionality. Please download the latest version from your iSenseLabs account.
Hope this helps.