]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: fix prune button
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 4 Jun 2020 10:38:45 +0000 (12:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jun 2020 10:59:48 +0000 (12:59 +0200)
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>
www/DataStoreContent.js

index 2be03842f7909492683bcecdc408b06f31b54829..9b4bf2489941e775cf68cd19f3b895aa7d4e8b73 100644 (file)
@@ -210,6 +210,7 @@ Ext.define('PBS.DataStoreContent', {
            xtype: 'proxmoxButton',
            text: gettext('Prune'),
            disabled: true,
+           parentXType: 'pbsDataStoreContent',
            enableFn: function(record) { return !record.data.leaf; },
            handler: 'onPrune',
        }