File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 13831383 success : function ( json ) {
13841384 var jsonObj = json . listnetworksresponse . network [ 0 ] ;
13851385 addExtraPropertiesToGuestNetworkObject ( jsonObj ) ;
1386+
1387+ //if DR module is included
1388+ addExtraPropertiesIfDrModuleIncluded ( jsonObj , "Network" ) ;
1389+
13861390 args . response . success ( {
13871391 actionFilter : cloudStack . actionFilter . guestNetwork ,
13881392 data : jsonObj
Original file line number Diff line number Diff line change 14971497 async : true ,
14981498 success : function ( json ) {
14991499 var jsonObj = json . listvolumesresponse . volume [ 0 ] ;
1500+
1501+ //if DR module is included
1502+ addExtraPropertiesIfDrModuleIncluded ( jsonObj , "Volume" ) ;
1503+
15001504 args . response . success ( {
15011505 actionFilter : volumeActionfilter ,
15021506 data : jsonObj
Original file line number Diff line number Diff line change 19541954 success: function (json) {
19551955 selectedGuestNetworkObj = json.listnetworksresponse.network[0];
19561956 addExtraPropertiesToGuestNetworkObject(selectedGuestNetworkObj);
1957+
1958+ //if DR module is included
1959+ addExtraPropertiesIfDrModuleIncluded(selectedGuestNetworkObj, "Network");
1960+
19571961 args.response.success({
19581962 actionFilter: cloudStack.actionFilter.guestNetwork,
19591963 data: selectedGuestNetworkObj
75917595 //override default error handling: cloudStack.dialog.notice({ message: parseXMLHttpResponse(XMLHttpResponse)});
75927596 });
75937597
7598+ //if DR module is included
7599+ addExtraPropertiesIfDrModuleIncluded(selectedZoneObj, "Zone");
7600+
75947601 args.response.success({
75957602 actionFilter: zoneActionfilter,
75967603 data: selectedZoneObj
You can’t perform that action at this time.
0 commit comments