Keep the urls pretty, decode forward slashes

remotes/origin/stable
Michael Gapczynski 15 years ago
parent 95b9f4ed23
commit 1cddfe8820
  1. 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