Skip to content

Commit

Permalink
Fix trashbin file actions
Browse files Browse the repository at this point in the history
Fixes #10491

Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Aug 9, 2018
1 parent 11e9985 commit 16909f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/files_trashbin/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 16909f0

Please sign in to comment.