mirror of
https://github.com/nextcloud/server.git
synced 2026-03-25 11:54:59 -04:00
Merge pull request #18378 from owncloud/files-delete-spinner
Fix spinner when deleting all files in a folder
This commit is contained in:
commit
5fd36d017e
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue