summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-10 15:09:28 +0200
committerGitHub <noreply@github.com>2018-08-10 15:09:28 +0200
commit80dd312e74d8502ff59f8487fb84a91dc0920528 (patch)
treec669aa8f1e59d8de4ee4e1b2d13c5348b45848dd
parent7aad5b7721bbecf673b1adb4f40a9b561bf6949e (diff)
parent16909f04c2849ec679c7f92c4d36bb8b08214d64 (diff)
downloadnextcloud-server-80dd312e74d8502ff59f8487fb84a91dc0920528.tar.gz
nextcloud-server-80dd312e74d8502ff59f8487fb84a91dc0920528.zip
Merge pull request #10615 from nextcloud/fix-trashbin-actions
Fix trashbin file actions
-rw-r--r--apps/files_trashbin/js/app.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js
index 5c29c1232bb..7cdc157fe47 100644
--- a/apps/files_trashbin/js/app.js
+++ b/apps/files_trashbin/js/app.js
@@ -67,7 +67,6 @@ OCA.Trashbin.App = {
var tr = fileList.findFileEl(filename);
var deleteAction = tr.children("td.date").children(".action.delete");
deleteAction.removeClass('icon-delete').addClass('icon-loading-small');
- fileList.disableActions();
$.post(OC.filePath('files_trashbin', 'ajax', 'undelete.php'), {
files: JSON.stringify([filename]),
dir: fileList.getCurrentDirectory()
@@ -96,7 +95,6 @@ OCA.Trashbin.App = {
var tr = fileList.findFileEl(filename);
var deleteAction = tr.children("td.date").children(".action.delete");
deleteAction.removeClass('icon-delete').addClass('icon-loading-small');
- fileList.disableActions();
$.post(OC.filePath('files_trashbin', 'ajax', 'delete.php'), {
files: JSON.stringify([filename]),
dir: fileList.getCurrentDirectory()