summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-28 15:10:00 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-28 15:10:00 +0100
commit320233ec3dc0bd1c3a46b8dedc4bf9f579804653 (patch)
tree62d66115ba21f0568b6968bded2e3730d494f164 /apps/files/js
parentf28857377dc4a34237626e144aa796b58c133dfa (diff)
downloadnextcloud-server-320233ec3dc0bd1c3a46b8dedc4bf9f579804653.tar.gz
nextcloud-server-320233ec3dc0bd1c3a46b8dedc4bf9f579804653.zip
merge conflict fixed
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js43
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];
}