From 0659f05bb5ba866601459a9c6ed0ca89fb0e49d5 Mon Sep 17 00:00:00 2001 From: Alexandre Derumier Date: Mon, 8 Jun 2015 12:20:44 +0200 Subject: [PATCH] cpuoptions : add emptyText Signed-off-by: Alexandre Derumier --- www/manager/qemu/CPUOptions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/manager/qemu/CPUOptions.js b/www/manager/qemu/CPUOptions.js index 566ef0b1..b5b74448 100644 --- a/www/manager/qemu/CPUOptions.js +++ b/www/manager/qemu/CPUOptions.js @@ -39,6 +39,7 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', { value: '', fieldLabel: gettext('Vcpus'), allowBlank: true, + emptyText: me.maxvcpus }, { xtype: 'numberfield', @@ -48,7 +49,8 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', { value: '', step: 1, fieldLabel: gettext('CPU limit'), - allowBlank: true + allowBlank: true, + emptyText: gettext('unlimited') }, { xtype: 'numberfield',