Related with this issue #358082: jQuery 1.3 in Drupal 6.x

To help pathauto work with jQuery 1.3.2 in jQuery Update can we please remove the @ in the selectors. It was depreciated as of 1.2 and removed in 1.3. Change highlighted below.

jQuery 1.2.x:
$("a[@href*='admin/build/testing']").doSomething();

jQuery 1.2.6 and 1.3.x:
$("a[href*='admin/build/testing']").doSomething();

More detail at http://docs.jquery.com/Selectors/attributeHas#attribute

In the case of pathauto is affecting in the node edit form when changed the default option for url path.

CommentFileSizeAuthor
pathauto_js.patch806 bytesjcmarco
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcmarco’s picture

Status: Active » Needs review
jchatard’s picture

Status: Needs review » Reviewed & tested by the community

Perfectly working!

Thanks!
Jérémy

Freso’s picture

Category: bug » task

Which version does Drupal 5 ship with? (As in, should this be applied to the DRUPAL-5--2 branch as well?)

Freso’s picture

Status: Reviewed & tested by the community » Fixed

Drupal 5.x ships with jQuery 1.0.4, so we definitely do not want to run this patch against Pathauto 6.x-2.x. It was committed to 6.x-2.x and 6.x-1.x this Saturday though, so it'll be included in future Pathauto releases for Drupal 6. Thank you, jcmarco and jchatard! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.