From: Thomas Müller Date: Fri, 8 Feb 2013 14:51:28 +0000 (+0100) Subject: remove undefined function FileList.finishDelete X-Git-Tag: v5.0.0alpha1~71^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d3c1328fa60cc1e5f07ceff8ff7c5f587bc45f8;p=nextcloud-server.git remove undefined function FileList.finishDelete --- diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 72b353b48c2..9c794d24e4f 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -321,7 +321,6 @@ $(document).ready(function(){ // Delete the new uploaded file FileList.deleteCanceled = false; FileList.deleteFiles = [FileList.replaceOldName]; - FileList.finishDelete(null, true); } else { $('tr').filterAttr('data-file', FileList.replaceOldName).show(); } @@ -348,7 +347,6 @@ $(document).ready(function(){ if ($('#notification').data('isNewFile')) { FileList.deleteCanceled = false; FileList.deleteFiles = [$('#notification').data('oldName')]; - FileList.finishDelete(null, true); } }); FileList.useUndo=(window.onbeforeunload)?true:false;