1 parent b5148af commit 00715c9Copy full SHA for 00715c9
1 file changed
ui/scripts/vpc.js
@@ -2746,7 +2746,8 @@
2746
async: true,
2747
success: function(json) {
2748
var jsonObj = json.listnetworksresponse.network[0];
2749
-
+ if(jsonObj.aclid != null){
2750
+
2751
$.ajax({
2752
url:createURL("listNetworkACLLists&id=" + jsonObj.aclid),
2753
dataType:"json",
@@ -2763,6 +2764,16 @@
2763
2764
args.response.error(parseXMLHttpResponse(json));
2765
}
2766
});
2767
+ }
2768
2769
+ else{
2770
+ args.response.success({
2771
+ actionFilter: cloudStack.actionFilter.guestNetwork,
2772
+ data:$.extend(jsonObj,{aclname:'None'})
2773
2774
+ });
2775
2776
2777
2778
2779
0 commit comments