]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed path to history script
authorSam Tuke <sam@donttravelempty.com>
Wed, 25 Apr 2012 13:27:55 +0000 (14:27 +0100)
committerSam Tuke <sam@donttravelempty.com>
Wed, 25 Apr 2012 13:27:55 +0000 (14:27 +0100)
apps/files_versions/js/versions.js

index ac8b87513f214c8b4ddf0aff987f0e3c11ced517..19838cf6ad8c0fef89d1836448584db97253e738 100644 (file)
@@ -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);
        });
        
 });