ui: fix prune button
the remove button did not get the selModel since the xytpe was not 'grid' so give it the correct xtype Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
43ba913977
commit
f856e0774e
@ -210,6 +210,7 @@ Ext.define('PBS.DataStoreContent', {
|
|||||||
xtype: 'proxmoxButton',
|
xtype: 'proxmoxButton',
|
||||||
text: gettext('Prune'),
|
text: gettext('Prune'),
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
parentXType: 'pbsDataStoreContent',
|
||||||
enableFn: function(record) { return !record.data.leaf; },
|
enableFn: function(record) { return !record.data.leaf; },
|
||||||
handler: 'onPrune',
|
handler: 'onPrune',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user