Commit cf966c48 authored by Dietmar Maurer's avatar Dietmar Maurer

use pveMemoryField for maxmemory

parent 5ef6d7e0
......@@ -72,17 +72,14 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
}
},
{
xtype: 'numberfield',
xtype: 'pveMemoryField',
name: 'maxmemory',
hotplug: me.hotplug,
disabled: true,
minValue: 32,
maxValue: 512*1024,
value: '1024',
step: 32,
fieldLabel: gettext('Maximum memory') + ' (MB)',
labelAlign: 'right',
labelWidth: labelWidth,
allowBlank: false,
listeners: {
change: function(f, value) {
var bf = me.down('field[name=balloon]');
......
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