aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-29 17:59:30 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-29 17:59:30 +0200
commit10bc67bef995bbb14e6edaa82bfd356968906f9a (patch)
tree18afa598df47eca08317efa2ffded9a3f7314659 /apps/files/js
parent6b02126dc1c8ba9de5b87c6c8568feea5948d2a0 (diff)
downloadnextcloud-server-10bc67bef995bbb14e6edaa82bfd356968906f9a.tar.gz
nextcloud-server-10bc67bef995bbb14e6edaa82bfd356968906f9a.zip
Show spinner for all files when deleting all
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 40ec898635e..8654cb14b36 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1087,6 +1087,8 @@ window.FileList = {
else {
// no files passed, delete all in current dir
params.allfiles = true;
+ // show spinner for all files
+ this.$fileList.find('tr>td.date .action.delete').removeClass('delete-icon').addClass('progress-icon');
}
$.post(OC.filePath('files', 'ajax', 'delete.php'),
@@ -1106,6 +1108,7 @@ window.FileList = {
FileList.fileSummary.remove({type: fileEl.attr('data-type'), size: fileEl.attr('data-size')});
});
}
+ // TODO: this info should be returned by the ajax call!
checkTrashStatus();
FileList.updateEmptyContent();
FileList.fileSummary.update();