summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2013-12-11 12:17:28 +0800
committerPellaeon Lin <nfsmwlin@gmail.com>2013-12-11 12:18:18 +0800
commit0aa38165a4659fedd98f752bdd99bf174ed98a76 (patch)
tree1b0e45dd71546e1d983641aad2d6c0f2bf627984 /apps/files/js
parent64bf0fa47fe4c623672cf86e831f66974e7f650c (diff)
downloadnextcloud-server-0aa38165a4659fedd98f752bdd99bf174ed98a76.tar.gz
nextcloud-server-0aa38165a4659fedd98f752bdd99bf174ed98a76.zip
Update #free_space on getstoragestats AJAX call
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/files.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index fdaa3aa3342..0a2f1aef013 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -41,6 +41,7 @@ Files={
}
if (response.data !== undefined && response.data.uploadMaxFilesize !== undefined) {
$('#max_upload').val(response.data.uploadMaxFilesize);
+ $('#free_space').val(response.data.freeSpace);
$('#upload.button').attr('original-title', response.data.maxHumanFilesize);
$('#usedSpacePercent').val(response.data.usedSpacePercent);
Files.displayStorageWarnings();