We finally got around to updating our Drupal site to 6.17 from 6.13, and this module immediately stopped working. It worked great before, but now when picking an option from one of the inventory select boxes, it's as if the Javascript isn't being triggered at all. We've got 6.x-1.0-beta13 installed, and all other modules are completely up to date.
Did I miss doing a rebuild of something?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | node_js_fix_20100818.diff | 749 bytes | beltofte |
Comments
Comment #1
capellicI just installed this module for the first time it doesn't work for me. I am running 6.17. After seeing this issue, I'm wondering if there might be a change in 6.17 that is causing the javascript not to fire off?
I've added an alert('hello world'); in uc_attribute_stock_filter.js as the first line of function onSelectChange() and it's not ever getting there. (I am not optimizing JS files so it's not a cache issue.)
UPDATE: I just upgraded to the DEV version and it's not working either. I am using FF 3.6.6. I've also tested on Safari 5.0.
Comment #2
xl_cheese commentedI'm noticing the same behavior.
Comment #3
capellic@xl_cheese: No, I didn't. Decided to do it a different way, but would really like a solution.
Comment #4
xl_cheese commentedInterestingly, It's not doing anything at all on my site. I'm not even getting the first attribute filtered on page load.
Comment #5
beltofteThe JavaScript expects that the array uc_asf_AvailableOptions contains the node id, which is does not. Patch is attached (for beta3).
Comment #6
mhedstrom commentedAwesome, the patch fixed it! Thanks beltofte. Now if we could get that into the code, that'd be awesome.