From: Thomas Müller Date: Mon, 2 Dec 2013 09:30:55 +0000 (+0100) Subject: fixing ajax call to getstoragestats.php X-Git-Tag: v5.0.14~11^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aaeb7827b8b8a45f87d5dd23c19b24d032f2ec4d;p=nextcloud-server.git fixing ajax call to getstoragestats.php --- diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 1e523e8441d..a603d123ab9 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -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); }); }