Index: pathauto.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.js,v retrieving revision 1.1.2.4 diff -u -p -r1.1.2.4 pathauto.js --- pathauto.js 6 Mar 2008 02:55:12 -0000 1.1.2.4 +++ pathauto.js 15 Dec 2008 17:20:16 -0000 @@ -4,19 +4,19 @@ if (Drupal.jsEnabled) { if ($("#edit-pathauto-perform-alias").size() && $("#edit-pathauto-perform-alias").attr("checked")) { // Disable input and hide its description. $("#edit-path").attr("disabled","disabled"); - $("//#edit-path ~ div[@class=description]").hide(0); + $("#edit-path ~ div[@class=description]").hide(0); } $("#edit-pathauto-perform-alias").bind("click", function() { if ($("#edit-pathauto-perform-alias").attr("checked")) { // Auto-alias checked; disable input. $("#edit-path").attr("disabled","disabled"); - $("//#edit-path ~ div[@class=description]").slideUp('slow'); + $("#edit-path ~ div[@class=description]").slideUp('slow'); } else { // Auto-alias unchecked; enable input. $("#edit-path").removeAttr("disabled"); $("#edit-path")[0].focus(); - $("//#edit-path ~ div[@class=description]").slideDown('slow'); + $("#edit-path ~ div[@class=description]").slideDown('slow'); } }); });