Closed (fixed)
Project:
Ubercart Out of stock Notification
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2009 at 09:33 UTC
Updated:
29 Apr 2010 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
Island Usurper commenteduc_out_of_stock.js belongs to this project.
Comment #2
jazzitup commentedFirefox 3.6 throws this line in Error Console:
Comment #3
jazzitup commentedIt kills my jQuery custom code and I can't use jQuery with this module enabled. Marking it as critical.
Comment #4
kmontyUsing this as a guide: http://stackoverflow.com/questions/1487792/jquery-find-element-whose-id-...
changing line 78 to
$("form[id*=uc-product-add-to-cart-form]").each(function(index) {and line 91 to
$("form[id*=uc-catalog-buy-it-now-form]").each(function(index) {That said, this should be tested with the default jquery 1.2.6
Comment #5
kndrIndeed, symbol @ is deprecated:
From http://api.jquery.com/category/selectors/attribute-selectors/
Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the ‘@’ symbol from your selectors in order to make them work again.
There are more deprecated symbols inside uc_out_of_stock.js. I am attaching the patch.
Comment #6
kndrComment #7
kmontyComment #8
hanoiicommitted, thanks.