diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 15:10:00 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-01-28 15:10:00 +0100 |
commit | 320233ec3dc0bd1c3a46b8dedc4bf9f579804653 (patch) | |
tree | 62d66115ba21f0568b6968bded2e3730d494f164 /apps/files/js | |
parent | f28857377dc4a34237626e144aa796b58c133dfa (diff) | |
download | nextcloud-server-320233ec3dc0bd1c3a46b8dedc4bf9f579804653.tar.gz nextcloud-server-320233ec3dc0bd1c3a46b8dedc4bf9f579804653.zip |
merge conflict fixed
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index afa2923a8c8..40d75aae932 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -275,49 +275,6 @@ var FileList={ if (FileList.lastAction) { FileList.lastAction(); } -<<<<<<< HEAD -======= - - FileList.prepareDeletion(files); - - if (!FileList.useUndo) { - FileList.lastAction(); - } else { - // NOTE: Temporary fix to change the text to unshared for files in root of Shared folder - if ($('#dir').val() == '/Shared') { - OC.Notification.showHtml(t('files', 'unshared {files}', {'files': escapeHTML(files)})+'<span class="undo">'+t('files', 'undo')+'</span>'); - } else { - OC.Notification.showHtml(t('files', 'deleted {files}', {'files': escapeHTML(files)})+'<span class="undo">'+t('files', 'undo')+'</span>'); - } - } - }, - finishDelete:function(ready,sync){ - if(!FileList.deleteCanceled && FileList.deleteFiles){ - var fileNames=JSON.stringify(FileList.deleteFiles); - $.ajax({ - url: OC.filePath('files', 'ajax', 'delete.php'), - async:!sync, - type:'post', - data: {dir:$('#dir').val(),files:fileNames}, - complete: function(data){ - boolOperationFinished(data, function(){ - OC.Notification.hide(); - $.each(FileList.deleteFiles,function(index,file){ - FileList.remove(file); - }); - FileList.deleteCanceled=true; - FileList.deleteFiles=null; - FileList.lastAction = null; - if(ready){ - ready(); - } - }); - } - }); - } - }, - prepareDeletion:function(files){ ->>>>>>> origin/master if(files.substr){ files=[files]; } |