mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
nTIER - detail view to show the acl name with which it is associated
This commit is contained in:
parent
bc98d8ab46
commit
8c9cd6e0ca
@ -2731,6 +2731,7 @@
|
|||||||
isEditable: true
|
isEditable: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
aclname:{label:'ACL name'},
|
||||||
aclid:{label:'ACL id'},
|
aclid:{label:'ACL id'},
|
||||||
|
|
||||||
domain: { label: 'label.domain' },
|
domain: { label: 'label.domain' },
|
||||||
@ -2745,12 +2746,23 @@
|
|||||||
async: true,
|
async: true,
|
||||||
success: function(json) {
|
success: function(json) {
|
||||||
var jsonObj = json.listnetworksresponse.network[0];
|
var jsonObj = json.listnetworksresponse.network[0];
|
||||||
args.response.success(
|
|
||||||
{
|
$.ajax({
|
||||||
actionFilter: cloudStack.actionFilter.guestNetwork,
|
url:createURL("listNetworkACLLists&id=" + jsonObj.aclid),
|
||||||
data: jsonObj
|
dataType:"json",
|
||||||
}
|
success:function(json){
|
||||||
);
|
var aclObj = json.listnetworkacllistsresponse.networkacllist[0];
|
||||||
|
args.response.success({
|
||||||
|
actionFilter: cloudStack.actionFilter.guestNetwork,
|
||||||
|
data:$.extend(jsonObj , {aclname: aclObj.name})
|
||||||
|
|
||||||
|
});
|
||||||
|
},
|
||||||
|
error:function(json){
|
||||||
|
|
||||||
|
args.response.error(parseXMLHttpResponse(json));
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user