Skip to content
Snippets Groups Projects
Commit a3dff248 authored by Sam Tuke's avatar Sam Tuke
Browse files

fixed path to history script

parent 02a65f30
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ $(document).ready(function(){
// Add history button to files/index.php
FileActions.register('file','History',function(){return OC.imagePath('core','actions/history')},function(filename){
window.location='../apps/files_versioning/history.php?file='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
window.location='../apps/files_versions/history.php?path='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment