aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-09-30 06:51:40 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-09-30 06:51:40 +0200
commit241862756eaa0fdbdcc278d14c6c1652dc4237d0 (patch)
tree0954204d047f587424384f60fd4c4e1d334ec8da /apps/files/js/fileactions.js
parent3273beb887fb8fd4c317a0263caa38a26e34f95e (diff)
parent258782584e490b92ccfcf032921aa7062a28da9f (diff)
downloadnextcloud-server-241862756eaa0fdbdcc278d14c6c1652dc4237d0.tar.gz
nextcloud-server-241862756eaa0fdbdcc278d14c6c1652dc4237d0.zip
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 1403d345e8a..e184cbfa915 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -157,7 +157,7 @@ $(document).ready(function(){
var downloadScope = 'file';
}
FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download');},function(filename){
- window.location=OC.filePath('files', 'ajax', 'download.php') + encodeURIComponent('?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val()));
+ window.location=OC.filePath('files', 'ajax', 'download.php') + '&files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val());
});
});
@@ -179,6 +179,7 @@ FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.
$('.tipsy').remove();
});
+// t('files', 'Rename')
FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename');},function(filename){
FileList.rename(filename);
});