allow minimum disk sizes of nearly 1MB

Signed-off-by: tgrodzinski <t.grodzinski@profihost.ag>
This commit is contained in:
tgrodzinski 2012-08-02 15:50:57 +02:00 committed by Dietmar Maurer
parent f6af824aac
commit c17f3da4a4
2 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,9 @@ Ext.define('PVE.openvz.RessourceInputPanel', {
{
xtype: 'numberfield',
name: 'disk',
minValue: 0.5,
minValue: 0.001,
maxValue: 128*1024,
decimalPrecision: 3,
value: '4',
step: 1,
fieldLabel: gettext('Disk size') + ' (GB)',

View File

@ -165,8 +165,9 @@ Ext.define('PVE.qemu.HDInputPanel', {
me.hdsizesel = Ext.createWidget('numberfield', {
name: 'disksize',
minValue: 1,
minValue: 0.001,
maxValue: 128*1024,
decimalPrecision: 3,
value: '32',
fieldLabel: gettext('Disk size') + ' (GB)',
allowBlank: false