mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:58:20 +00:00
add pool option to openvz create wizard
This commit is contained in:
parent
425bbb26a5
commit
c92c67a6e0
@ -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', {
|
|||||||
],
|
],
|
||||||
onGetValues: function(values) {
|
onGetValues: function(values) {
|
||||||
delete values.confirmpw;
|
delete values.confirmpw;
|
||||||
|
if (!values.pool) {
|
||||||
|
delete values.pool;
|
||||||
|
}
|
||||||
return values;
|
return values;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user