We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1adc983 + ce074fd commit 578e390Copy full SHA for 578e390
settings/js/users/users.js
@@ -524,7 +524,10 @@ var UserList = {
524
if (quota === 'other') {
525
return;
526
}
527
- if (isNaN(parseInt(quota, 10)) || parseInt(quota, 10) < 0) {
+ if (
528
+ ['default', 'none'].indexOf(quota) === -1
529
+ && (isNaN(parseInt(quota, 10)) || parseInt(quota, 10) < 0)
530
+ ) {
531
// the select component has added the bogus value, delete it again
532
$select.find('option[selected]').remove();
533
OC.Notification.showTemporary(t('core', 'Invalid quota value "{val}"', {val: quota}));
0 commit comments