mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-13 12:58:17 +03:00
bug #1976: When a quota is edited, sunstone fills empty inputs with 0 as the default value, instead of -1
This commit is contained in:
parent
281145507e
commit
45af9a3c55
@ -1483,7 +1483,7 @@ function setupQuotasDialog(dialog){
|
||||
notifyError(tr("Please select an element"));
|
||||
return false;
|
||||
};
|
||||
if (!value) value = 0;
|
||||
if (!value) value = -1;
|
||||
json[name] = value;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user