mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:47:41 +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: [
|
||||
{
|
||||
xtype: 'pvePoolSelector',
|
||||
fieldLabel: gettext('Resource Pool'),
|
||||
name: 'pool',
|
||||
value: '',
|
||||
allowBlank: true
|
||||
},
|
||||
storagesel,
|
||||
{
|
||||
xtype: 'textfield',
|
||||
@ -126,6 +133,9 @@ Ext.define('PVE.openvz.CreateWizard', {
|
||||
],
|
||||
onGetValues: function(values) {
|
||||
delete values.confirmpw;
|
||||
if (!values.pool) {
|
||||
delete values.pool;
|
||||
}
|
||||
return values;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user