]> source.dussan.org Git - nextcloud-server.git/commit
Fixed storage stats to be based on current directory
authorVincent Petry <pvince81@owncloud.com>
Wed, 6 Nov 2013 09:55:19 +0000 (10:55 +0100)
committerVincent Petry <pvince81@owncloud.com>
Wed, 6 Nov 2013 09:55:19 +0000 (10:55 +0100)
commit31181e4348b9af2625cf4d6ad38cf4cd81db3c1f
treefc295013189c1c371b35c5080d85787b83f5b70a
parent5d9ab6e7ac161a2431d9baca59281c03015b4ff5
Fixed storage stats to be based on current directory

Previously, the storage statistics were always for the root dir.
This means that the upload button would always show the limit for the
root dir, even when uploading to a shared dir or external storage.

This fix adds a "dir" argument to getstoragestats.php.
apps/files/ajax/getstoragestats.php
apps/files/js/filelist.js
apps/files/js/files.js