]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove undefined function FileList.finishDelete
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 8 Feb 2013 14:51:28 +0000 (15:51 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 8 Feb 2013 14:51:28 +0000 (15:51 +0100)
apps/files/js/filelist.js

index 72b353b48c2c31446cda8793263240aaba79a326..9c794d24e4f6be5365f85c1ef10f153fa902de92 100644 (file)
@@ -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;