Browse Source

Keep the urls pretty, decode forward slashes

remotes/origin/stable4
Michael Gapczynski 14 years ago
parent
commit
1cddfe8820
  1. 2
      files/js/fileactions.js

2
files/js/fileactions.js

@ -137,7 +137,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())+'/'+encodeURIComponent(filename);
window.location='index.php?dir='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
});
FileActions.setDefault('dir','Open');
Loading…
Cancel
Save