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:
Robbie Averill 2018-06-13 11:49:49 +12:00 committed by GitHub
commit 01338bffd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.