The latest version of jQuery is 1.3, and it doesn't use the @ symbol when selecting attributes. This was apparently deprecated in 1.2, which Drupal 6 uses on its own. Let's remove the @ from the [@name=...] selectors in Ubercart, and anything else that we can do to support both versions of jQuery.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 513746_jquery_2x_update.patch | 15.62 KB | Island Usurper |
Comments
Comment #1
tr commentedhttp://docs.jquery.com/Release:jQuery_1.3#Changes
The @ symbol change is number one on that list. The next two on the list sound like they could be a problem too...
Comment #2
vm commentedjust ran into this myself. Luckily I have ubercart running our store in a multisite on its own subdomain. This made it easy to remove jquery_update which uses jQuery 1.3.2, from the store only.
Comment #3
Island Usurper commentedNot only should the
[@foo=...]be removed, but I can finally get rid of the .end() calls that are scattered through the uc_quote code. It was necessary in Drupal 5 for people who didn't have jquery_update, but it would break for people who did use it. Now I think Ubercart will work with or without jquery_update.Comment #4
Island Usurper commentedYes, Ubercart works with and without jquery_update. Committed.