From 16909f04c2849ec679c7f92c4d36bb8b08214d64 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 9 Aug 2018 14:31:02 +0200 Subject: Fix trashbin file actions Fixes #10491 Signed-off-by: Robin Appelman --- apps/files_trashbin/js/app.js | 2 -- 1 file changed, 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() -- cgit v1.2.3