summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-19 14:31:23 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-19 14:31:23 +0200
commit5fd36d017ecdbce61dcf1c67ae04c8c0be81a4bf (patch)
treec183576fc40242bb09f954d9ed7efa7adb68bb00 /apps
parentbd6beaaae215f6d9a531af9844ce869a8031b079 (diff)
parent730f1d199ae95c0c69358df6e34a2fe1e6bbafff (diff)
downloadnextcloud-server-5fd36d017ecdbce61dcf1c67ae04c8c0be81a4bf.tar.gz
nextcloud-server-5fd36d017ecdbce61dcf1c67ae04c8c0be81a4bf.zip
Merge pull request #18378 from owncloud/files-delete-spinner
Fix spinner when deleting all files in a folder
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 68c1f9d919f..eb46f155269 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1751,7 +1751,7 @@
// no files passed, delete all in current dir
params.allfiles = true;
// show spinner for all files
- this.$fileList.find('tr').addClass('busy');
+ this.showFileBusyState(this.$fileList.find('tr'), true);
}
$.post(OC.filePath('files', 'ajax', 'delete.php'),
@@ -1794,7 +1794,7 @@
}
else {
$.each(files,function(index,file) {
- self.$fileList.find('tr').removeClass('busy');
+ self.showFileBusyState(file, false);
});
}
}