ui: verify job: fix add-job on datastore-agnostic level
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9d8090626c
commit
31aa38b684
|
@ -34,6 +34,20 @@ Ext.define('PBS.window.VerifyJobEdit', {
|
|||
'ignoreVerified': true,
|
||||
},
|
||||
},
|
||||
controller: {
|
||||
xclass: 'Ext.app.ViewController',
|
||||
control: {
|
||||
'pbsDataStoreSelector': {
|
||||
change: 'storeChange',
|
||||
},
|
||||
},
|
||||
|
||||
storeChange: function(field, value) {
|
||||
let view = this.getView();
|
||||
let nsSelector = view.down('pbsNamespaceSelector');
|
||||
nsSelector.setDatastore(value);
|
||||
},
|
||||
},
|
||||
|
||||
items: {
|
||||
xtype: 'inputpanel',
|
||||
|
|
Loading…
Reference in New Issue