From: Georg Ehrke Date: Fri, 18 May 2012 09:59:56 +0000 (+0200) Subject: fix call of all versions page X-Git-Tag: v4.0.0RC2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73a72054a3e08b62e4f28c9c622f98b4737efeff;p=nextcloud-server.git fix call of all versions page --- diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js index 60acd88300a..d80b95556c7 100644 --- a/apps/files_versions/js/versions.js +++ b/apps/files_versions/js/versions.js @@ -25,7 +25,7 @@ $(document).ready(function(){ function createVersionsDropdown(filename, files) { - var historyUrl = OC.linkTo('files_versions', 'history.php?path='+encodeURIComponent( $( '#dir' ).val() ).replace( /%2F/g, '/' )+'/'+encodeURIComponent( filename ) ) + var historyUrl = OC.linkTo('files_versions', 'history.php') + '?path='+encodeURIComponent( $( '#dir' ).val() ).replace( /%2F/g, '/' )+'/'+encodeURIComponent( filename ); var html = '