]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing ajax call to getstoragestats.php
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 2 Dec 2013 09:30:55 +0000 (10:30 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 2 Dec 2013 09:30:55 +0000 (10:30 +0100)
apps/files/js/files.js

index 1e523e8441daaf1c2f5f78e719b4e9507f8d01a1..a603d123ab90291b929fa1cd8d7c077dbcde801a 100644 (file)
@@ -524,7 +524,7 @@ $(document).ready(function() {
        // file space size sync
        function update_storage_statistics() {
                var currentDir = $('#dir').val() || '/';
-               $.getJSON(OC.filePath('files','ajax','getstoragestats.php?dir=' + encodeURIComponent(currentDir)),function(response) {
+               $.getJSON(OC.filePath('files','ajax','getstoragestats.php') + '?dir=' + encodeURIComponent(currentDir),function(response) {
                        Files.updateMaxUploadFilesize(response);
                });
        }