mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
bug #1976: When a quota is edited, sunstone fills empty inputs with 0 as the default value, instead of -1
(cherry picked from commit 45af9a3c55)
This commit is contained in:
1 parent
7475d4249a
commit
c0cabe31e2
1 file changed
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user