cpuoptions : add emptyText

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2015-06-08 12:20:44 +02:00 committed by Dietmar Maurer
parent 9af2d28238
commit 0659f05bb5

View File

@ -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',