Add Please Wait fro default theme and reboot template formatting
This commit is contained in:
@@ -21,6 +21,18 @@ $(document).ready(function () {
|
||||
}
|
||||
});
|
||||
|
||||
// and busy cursor
|
||||
$(document).ready(function () {
|
||||
// Handle form submission for any form
|
||||
$('form').on('submit', function (event) {
|
||||
// Disable all submit buttons and update their labels
|
||||
$(this).find('button[type="submit"]').prop('disabled', true).text('Please wait...');
|
||||
$(this).find('input[type="submit"]').prop('disabled', true).val('Please wait...');
|
||||
// Add busy cursor
|
||||
$('body').addClass('busy');
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
// Get the fields
|
||||
|
||||
Reference in New Issue
Block a user