]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Enhancement for 'ajax' form class: submit buttons behave more like normal submissions...
authorBrion Vibber <brion@pobox.com>
Wed, 23 Mar 2011 22:21:31 +0000 (15:21 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 23 Mar 2011 22:21:31 +0000 (15:21 -0700)
commit2707a481e40c79ff334db45f2d5da19d3fc334d4
treecc1a56d8a1e7888f8f45522c878df9d0d502c8bf
parent265f9af6f7e1403c5f0d97c91b70b4d77ff31caf
Enhancement for 'ajax' form class: submit buttons behave more like normal submissions, submitting their name/values through a hidden field.

This should work well for simple cases, but could conceivably create false positives if there's a click handler on the specific buttons, depending on whether event processing passes it on. Double-check if you're doing such forms along with the 'ajax' class!
js/util.js
js/util.min.js