]> source.dussan.org Git - nextcloud-server.git/commitdiff
add missing GET param to getstoragestats url 33113/head
authorJulien Veyssier <eneiluj@posteo.net>
Tue, 5 Jul 2022 11:43:58 +0000 (13:43 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Tue, 5 Jul 2022 14:39:48 +0000 (16:39 +0200)
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
(cherry picked from commit ca6a7245032e87f6d7f65c8e796cc0f176659677)

apps/files/js/files.js

index e02a69cd13a71eed93f762ba9f0776b6dcae1ec5..8645719f82b0deefa0d5f3ef27e0dfec76b35bf2 100644 (file)
@@ -25,7 +25,7 @@
                                state.call.abort();
                        }
                        state.dir = currentDir;
-                       state.call = $.getJSON(OC.generateUrl('apps/files/ajax/getstoragestats', {
+                       state.call = $.getJSON(OC.generateUrl('apps/files/ajax/getstoragestats?dir={dir}', {
                                dir: currentDir,
                        }), function(response) {
                                state.dir = null;