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:
Daniel Molina committed 2013-05-15 11:55:56 +02:00
1 parent 7475d4249a
commit c0cabe31e2
1 file changed
+1 -1
+1 -1
View File
@@ -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;
};