prototype-ujs
prototype-ujs copied to clipboard
Fix confirm dialogs not triggering on form submission
Add allowAction() to form button click handler
cjolly's pull request from June 8th is doing the same thing, with a different solution. Your solution is the same as mine.
Frustrating that developers are wasting their valuable time finding the same bugs, taking the care and effort to generate pull requests, but these are not being attended to.
I did see @cjolly's pull request, but I think this fix is more consistent with jquery-ujs.