summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Tuke <sam@donttravelempty.com>2012-04-25 14:27:55 +0100
committerSam Tuke <sam@donttravelempty.com>2012-04-25 14:27:55 +0100
commita3dff248a1f4d34ccbf7bf0120109c0d910fc548 (patch)
tree42c1a9921371106b50a695817a0a3690f79e2b38
parent02a65f30ec2f0f1f3618f469287ee51eaef38a84 (diff)
downloadnextcloud-server-a3dff248a1f4d34ccbf7bf0120109c0d910fc548.tar.gz
nextcloud-server-a3dff248a1f4d34ccbf7bf0120109c0d910fc548.zip
fixed path to history script
-rw-r--r--apps/files_versions/js/versions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index ac8b87513f2..19838cf6ad8 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -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);
});
});