diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-02-20 15:17:32 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-02-20 15:17:32 +0100 |
commit | 3a364639b7649c12dcdd15e1c0344a35432aedc2 (patch) | |
tree | a2c10cf8e4ecbd526f2bd96f266e8b1cecb31f9a /apps/files_trashbin/js | |
parent | 211e651d7222085b528cc6e9dc8d060d8ea6a60e (diff) | |
download | nextcloud-server-3a364639b7649c12dcdd15e1c0344a35432aedc2.tar.gz nextcloud-server-3a364639b7649c12dcdd15e1c0344a35432aedc2.zip |
use "|" as delimiter instead of ";", since "|" is not allowed in file/folder names
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r-- | apps/files_trashbin/js/trash.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index fc38889dc37..c8b862837a6 100644 --- a/apps/files_trashbin/js/trash.js +++ b/apps/files_trashbin/js/trash.js @@ -93,7 +93,7 @@ $(document).ready(function() { $('.undelete').click('click',function(event) { var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>'; var files=getSelectedFiles('file'); - var fileslist=files.join(';'); + var fileslist=files.join('|'); var dirlisting=getSelectedFiles('dirlisting')[0]; for (var i in files) { @@ -118,7 +118,7 @@ $(document).ready(function() { console.log("delete selected"); var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'Delete permanently')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>'; var files=getSelectedFiles('file'); - var fileslist=files.join(';'); + var fileslist=files.join('|'); var dirlisting=getSelectedFiles('dirlisting')[0]; for (var i in files) { |