Batch action on Page loading screen fix

This commit is contained in:
Robin Barling 2018-05-11 13:07:48 +12:00
parent 2a9ef6ef94
commit c0229ad352

View File

@ -281,6 +281,7 @@
tree.find('li').removeClass('failed');
var button = this.find(':submit:first');
$('.cms-content-fields').addClass('loading');
button.addClass('loading');
jQuery.ajax({
@ -289,6 +290,7 @@
type: 'POST',
data: this.serializeArray(),
complete: function(xmlhttp, status) {
$('.cms-content-fields').removeClass('loading');
button.removeClass('loading');
// Refresh the tree.