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