mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -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())
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user