diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-05-31 19:46:32 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-05-31 19:46:51 +0200 |
commit | 3db28d7616ffcc09aa23e4ab50bf6b5224c98a7c (patch) | |
tree | c78d6cc0bec70dda974f95911ac2896e7395e139 /apps/files/js/fileactions.js | |
parent | ec0c0f3907d08c886f392eb99da19d5a39bf48cf (diff) | |
download | nextcloud-server-3db28d7616ffcc09aa23e4ab50bf6b5224c98a7c.tar.gz nextcloud-server-3db28d7616ffcc09aa23e4ab50bf6b5224c98a7c.zip |
linkTo instead of hard links in Files and Files_Archive. Hope that makes sense.
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 68268a7d3a9..19978b61a7d 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -161,7 +161,7 @@ FileActions.register('all','Rename',function(){return OC.imagePath('core','actio }); FileActions.register('dir','Open','',function(filename){ - window.location='index.php?dir='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename); + window.location=OC.linkTo('files', 'index.php') + '&dir='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename); }); FileActions.setDefault('dir','Open'); |