diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2017-10-22 14:10:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-22 14:10:55 +0200 |
commit | cd80e5dc7ce73ef314de00c2a66a6b455d7b6985 (patch) | |
tree | d2a9ad47ee74ca25d9ddf7aa585893047bfed64a /settings | |
parent | 2b31b8289169e35be7bb1b129e9a978ddcd8f478 (diff) | |
parent | 6efa0b86d0f3ed48d32fa49ed363c5079a13cefb (diff) | |
download | nextcloud-server-cd80e5dc7ce73ef314de00c2a66a6b455d7b6985.tar.gz nextcloud-server-cd80e5dc7ce73ef314de00c2a66a6b455d7b6985.zip |
Merge pull request #6758 from nextcloud/allow-0-quota-again
Allow quota of 0 again
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 4a4faf13ec7..af41790a7c4 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -592,7 +592,7 @@ var UserList = { if (quota === 'other') { return; } - if ((quota !== 'default' && quota !== "none") && (!OC.Util.computerFileSize(quota))) { + if (quota !== 'default' && quota !== "none" && OC.Util.computerFileSize(quota) === null) { // the select component has added the bogus value, delete it again $select.find('option[selected]').remove(); OC.Notification.showTemporary(t('core', 'Invalid quota value "{val}"', {val: quota})); |