mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-546:Guest vms which are in expunging state should not be displayed in UI:Fixed by changing the response to blank in case of an expunging state
This commit is contained in:
parent
17b11d7356
commit
8d4400946d
|
|
@ -203,11 +203,19 @@
|
|||
data: data,
|
||||
success: function(json) {
|
||||
var items = json.listvirtualmachinesresponse.virtualmachine;
|
||||
var i=0;
|
||||
for( i=0;i< items.length;i++){
|
||||
if(items[i].state == 'Expunging')
|
||||
args.response.success ({
|
||||
|
||||
});
|
||||
else {
|
||||
args.response.success({
|
||||
actionFilter: vmActionfilter,
|
||||
data: items
|
||||
});
|
||||
data: items[i]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue