mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8063 from rbarling/pulls/3.6/batch-action-loading-screen-fix
Batch action on Page loading screen fix
This commit is contained in:
commit
01338bffd5
@ -281,6 +281,7 @@
|
||||
tree.find('li').removeClass('failed');
|
||||
|
||||
var button = this.find(':submit:first');
|
||||
jQuery('.cms-content-fields').addClass('loading');
|
||||
button.addClass('loading');
|
||||
|
||||
jQuery.ajax({
|
||||
@ -289,6 +290,7 @@
|
||||
type: 'POST',
|
||||
data: this.serializeArray(),
|
||||
complete: function(xmlhttp, status) {
|
||||
jQuery('.cms-content-fields').removeClass('loading');
|
||||
button.removeClass('loading');
|
||||
|
||||
// Refresh the tree.
|
||||
|
Loading…
Reference in New Issue
Block a user