diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-04 15:40:39 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-10-19 11:37:29 +0200 |
commit | 6efa0b86d0f3ed48d32fa49ed363c5079a13cefb (patch) | |
tree | e8a9c1d6c80dd5e769ca9bc1e07b0252dc5a8839 /settings | |
parent | 3f352d5f3b8208b871f1e0e54d87f0900c0ebfe3 (diff) | |
download | nextcloud-server-6efa0b86d0f3ed48d32fa49ed363c5079a13cefb.tar.gz nextcloud-server-6efa0b86d0f3ed48d32fa49ed363c5079a13cefb.zip |
Allow quota of 0 again
Regression from f1fccaca0605a5d183f78b2c39d2e09a54753787
Signed-off-by: Joas Schilling <coding@schilljs.com>
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})); |