Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
pathauto_js.patch | 806 bytes | jcmarco | |
Comments
Comment #1
jcmarco CreditAttribution: jcmarco commentedComment #2
jchatard CreditAttribution: jchatard commentedPerfectly working!
Thanks!
Jérémy
Comment #3
Freso CreditAttribution: Freso commentedWhich version does Drupal 5 ship with? (As in, should this be applied to the DRUPAL-5--2 branch as well?)
Comment #4
Freso CreditAttribution: Freso commentedDrupal 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! :)