]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix call of all versions page
authorGeorg Ehrke <dev@georgswebsite.de>
Fri, 18 May 2012 09:59:56 +0000 (11:59 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Fri, 18 May 2012 10:00:35 +0000 (12:00 +0200)
apps/files_versions/js/versions.js

index 60acd88300a6203e16047e72eb51e35c9753ef16..d80b95556c761676f7d0eac2c28dabf1badec90c 100644 (file)
@@ -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 = '<div id="dropdown" class="drop" data-file="'+files+'">';
        html += '<div id="private">';