mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
2939632778
@ -81,6 +81,10 @@
|
||||
|
||||
// default to first button
|
||||
var button = this.find(':submit:first');
|
||||
if (button.is(':disabled')){
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
button.addClass('loading');
|
||||
|
||||
// collect data and submit the form
|
||||
|
Loading…
Reference in New Issue
Block a user