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 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 commentedadded to 6.x dev version
Comment #3
pvanderspek commented