mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
explicit dedication - POD UI-API detail view integration
This commit is contained in:
parent
e95ddb6562
commit
55d3176332
@ -8892,14 +8892,17 @@
|
||||
dataType:"json",
|
||||
async:false,
|
||||
success:function(json){
|
||||
var podItem = json.listdedicatedpodsresponse ? json.listdedicatedpodsresponse.dedicatedpod[0]:[];
|
||||
if(json.listdedicatedpodsresponse.dedicatedpod != undefined){
|
||||
var podItem = json.listdedicatedpodsresponse.dedicatedpod[0];
|
||||
if (podItem.domainid != null) {
|
||||
$.extend(item, podItem , { isdedicated: 'Yes' });
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
$.extend(item ,{ isdedicated: 'No' })
|
||||
},
|
||||
error:function(json){
|
||||
$.extend(item ,{ isdedicated: 'No' })
|
||||
|
||||
args.response.error(parseXMLHttpResponse(XMLHttpResponse));
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user