mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +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",
|
dataType:"json",
|
||||||
async:false,
|
async:false,
|
||||||
success:function(json){
|
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) {
|
if (podItem.domainid != null) {
|
||||||
$.extend(item, podItem , { isdedicated: 'Yes' });
|
$.extend(item, podItem , { isdedicated: 'Yes' });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$.extend(item ,{ isdedicated: 'No' })
|
||||||
},
|
},
|
||||||
error:function(json){
|
error:function(json){
|
||||||
$.extend(item ,{ isdedicated: 'No' })
|
args.response.error(parseXMLHttpResponse(XMLHttpResponse));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user