[Rt-commit] rt branch, 4.2/avoid-disabling-submit-buttons, repushed
? sunnavy
sunnavy at bestpractical.com
Mon Apr 28 07:52:00 EDT 2014
The branch 4.2/avoid-disabling-submit-buttons was deleted and repushed:
was b31fac31f63439616405a123199dc449875d7517
now ff7f8e312107c5e05af28bbd324c777ed79caa20
1: b31fac3 ! 1: ff7f8e3 refactor "prevent double submission" js code to not disable submit buttons
@@ -27,6 +27,7 @@
-});
\ No newline at end of file
+ // reset form submit info when user goes backward or forward for Safari
++ // other browsers don't need this trick and they can work directly.
+ if ( window.addEventListener ) {
+ window.addEventListener("popstate", function(e) {
+ jQuery('form').data('submitted', false);
More information about the rt-commit
mailing list