1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #795: Image selection shouldn't list images in ERROR state (#1595)

This commit is contained in:
Abel Coronado 2017-12-20 19:25:21 +01:00 committed by Tino Vázquez
parent 359ab28395
commit 760f4ded6d

View File

@ -44,7 +44,11 @@ define(function(require) {
function DiskTab(diskTabId) {
this.diskTabId = 'diskTab' + diskTabId + UniqueId.id();
this.imageTable = new ImageTable(this.diskTabId + 'Table', {'select': true});
this.imageTable = new ImageTable(this.diskTabId + 'Table', {
'select': true,
'selectOptions': {
"filter_fn": function(image) { return image.STATE != 5; }
}});
}
DiskTab.prototype.constructor = DiskTab;