looks (almost confusingly) empty else and no real disadvantage in
showing the disabled one until a media-set is selected and loaded
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
me.setDataStores(Object.keys(datastores), true);
if (response.result.data.length > 0) {
grid.setDisabled(false);
- grid.setVisible(true);
grid.setData(response.result.data);
grid.getSelectionModel().selectAll();
// we've shown a big list, center the window again
name: 'snapshots',
height: 322,
disabled: true, // will be shown/enabled on successful load
- hidden: true,
listeners: {
change: 'updateDatastores',
},