Commit 882131be authored by Dietmar Maurer's avatar Dietmar Maurer

add pool option to openvz create wizard

parent 07c434b1
...@@ -92,6 +92,13 @@ Ext.define('PVE.openvz.CreateWizard', { ...@@ -92,6 +92,13 @@ Ext.define('PVE.openvz.CreateWizard', {
} }
], ],
column2: [ column2: [
{
xtype: 'pvePoolSelector',
fieldLabel: gettext('Resource Pool'),
name: 'pool',
value: '',
allowBlank: true
},
storagesel, storagesel,
{ {
xtype: 'textfield', xtype: 'textfield',
...@@ -126,6 +133,9 @@ Ext.define('PVE.openvz.CreateWizard', { ...@@ -126,6 +133,9 @@ Ext.define('PVE.openvz.CreateWizard', {
], ],
onGetValues: function(values) { onGetValues: function(values) {
delete values.confirmpw; delete values.confirmpw;
if (!values.pool) {
delete values.pool;
}
return values; return values;
} }
}, },
......
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