aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-08-09 14:31:02 +0200
committerRobin Appelman <robin@icewind.nl>2018-08-09 14:31:02 +0200
commit16909f04c2849ec679c7f92c4d36bb8b08214d64 (patch)
tree31c2faff47e04f7eb51ce9a28bda23f6ea7e58d2 /apps
parent11e99859ef3a28d0124241a43a934f70b7c3ff3a (diff)
downloadnextcloud-server-16909f04c2849ec679c7f92c4d36bb8b08214d64.tar.gz
nextcloud-server-16909f04c2849ec679c7f92c4d36bb8b08214d64.zip
Fix trashbin file actions
Fixes #10491 Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-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()