Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
there are cases when the page contains other elements with 'edit-submit' id, e.g. a search box, and the wrong edit-submit element gets enabled by this script. The patch fixes it to choose the edit-submit to enable only among the table#ordernodes siblings.
Comment | File | Size | Author |
---|---|---|---|
#1 | nodeorder.js-wrongsubmit-v2.patch | 453 bytes | tuffnatty |
nodeorder.js-wrongsubmit.patch | 432 bytes | tuffnatty |
Comments
Comment #1
tuffnatty CreditAttribution: tuffnatty commentedThis version of the patch is even better, it works if the element hierarchy is altered by some odd modules like Theme developer.
Comment #2
pvanderspek CreditAttribution: pvanderspek commentedadded to 6.x dev version
Comment #3
pvanderspek CreditAttribution: pvanderspek commented