Commit 37dfc896 authored by Alexandre Derumier's avatar Alexandre Derumier Committed by Dietmar Maurer

cpuoptions : add emptyText

Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
parent 8202ea51
...@@ -39,6 +39,7 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', { ...@@ -39,6 +39,7 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', {
value: '', value: '',
fieldLabel: gettext('Vcpus'), fieldLabel: gettext('Vcpus'),
allowBlank: true, allowBlank: true,
emptyText: me.maxvcpus
}, },
{ {
xtype: 'numberfield', xtype: 'numberfield',
...@@ -48,7 +49,8 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', { ...@@ -48,7 +49,8 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', {
value: '', value: '',
step: 1, step: 1,
fieldLabel: gettext('CPU limit'), fieldLabel: gettext('CPU limit'),
allowBlank: true allowBlank: true,
emptyText: gettext('unlimited')
}, },
{ {
xtype: 'numberfield', xtype: 'numberfield',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment