[pve-devel] [PATCH manager v2 4/4] only allow integers in memoryfield
Dominik Csapak
d.csapak at proxmox.com
Wed Nov 2 16:57:13 CET 2016
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/form/MemoryField.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/manager6/form/MemoryField.js b/www/manager6/form/MemoryField.js
index 1c9bca9..bdb2767 100644
--- a/www/manager6/form/MemoryField.js
+++ b/www/manager6/form/MemoryField.js
@@ -14,6 +14,10 @@ Ext.define('PVE.form.MemoryField', {
value: '512', // qm default
+ allowDecimals: false,
+
+ allowExponential: false,
+
computeUpDown: function(value) {
var me = this;
--
2.1.4
More information about the pve-devel
mailing list