Fixing double submission fix

Fixed #6788
This commit is contained in:
jtkech
2016-04-18 09:21:33 -07:00
committed by Sébastien Ros
parent 8ebf58d27d
commit 37436d86ed
@@ -93,18 +93,10 @@
form.addClass(submittingClass);
buttons = form.find("[type='submit']");
buttons.prop("disabled", true)
// safety-nest in case the form didn't refresh the page
setTimeout(function () {
form.removeClass(submittingClass);
buttons.prop("disabled", false)
}, 5000);
e.preventDefault();
return;
});
// Handle keypress events in bulk action fieldsets that are part of a single form.
@@ -217,4 +209,4 @@ function f() { return function () { } }
[], b[0]) b[0].hasOwnProperty(e) && c.push(e); e = 0; for (g = b.length; e < g; e += 1) { j = []; h = 0; for (k = c.length; h < k; h += 1) j.push(b[e][c[h]]); Function.apply.call(a.log, a, j) }
}
}); a.clear || (a.clear = f()); a.trace || (a.trace = f()); a.group || (a.group = f()); a.groupCollapsed || (a.groupCollapsed = f()); a.groupEnd || (a.groupEnd = f()); a.timeStamp || (a.timeStamp = f()); a.profile || (a.profile = f()); a.profileEnd || (a.profileEnd = f()); a.count || (a.count = f())
})();
})();