From: Sam Tuke Date: Wed, 25 Apr 2012 13:27:55 +0000 (+0100) Subject: fixed path to history script X-Git-Tag: v4.0.0beta~196 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3dff248a1f4d34ccbf7bf0120109c0d910fc548;p=nextcloud-server.git fixed path to history script --- 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); }); });