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:
		
				
					committed by
					
						 Thomas Lamprecht
						Thomas Lamprecht
					
				
			
			
				
	
			
			
			
						parent
						
							43ba913977
						
					
				
				
					commit
					f856e0774e
				
			| @ -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', | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user