File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 27312731 isEditable : true
27322732 } ,
27332733
2734+ aclname :{ label :'ACL name' } ,
27342735 aclid :{ label :'ACL id' } ,
27352736
27362737 domain : { label : 'label.domain' } ,
27452746 async : true ,
27462747 success : function ( json ) {
27472748 var jsonObj = json . listnetworksresponse . network [ 0 ] ;
2748- args . response . success (
2749- {
2750- actionFilter : cloudStack . actionFilter . guestNetwork ,
2751- data : jsonObj
2752- }
2753- ) ;
2749+
2750+ $ . ajax ( {
2751+ url :createURL ( "listNetworkACLLists&id=" + jsonObj . aclid ) ,
2752+ dataType :"json" ,
2753+ success :function ( json ) {
2754+ var aclObj = json . listnetworkacllistsresponse . networkacllist [ 0 ] ;
2755+ args . response . success ( {
2756+ actionFilter : cloudStack . actionFilter . guestNetwork ,
2757+ data :$ . extend ( jsonObj , { aclname : aclObj . name } )
2758+
2759+ } ) ;
2760+ } ,
2761+ error :function ( json ) {
2762+
2763+ args . response . error ( parseXMLHttpResponse ( json ) ) ;
2764+ }
2765+ } ) ;
27542766 }
27552767 } ) ;
27562768 }
You can’t perform that action at this time.
0 commit comments