Allow quota of 0 again
Regression from f1fccaca06
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3f352d5f3b
commit
6efa0b86d0
1 changed files with 1 additions and 1 deletions
|
@ -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}));
|
||||
|
|
Loading…
Reference in a new issue