mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView.
This commit is contained in:
parent
89a03c7099
commit
1641b28054
|
|
@ -1383,6 +1383,10 @@
|
|||
success: function(json) {
|
||||
var jsonObj = json.listnetworksresponse.network[0];
|
||||
addExtraPropertiesToGuestNetworkObject(jsonObj);
|
||||
|
||||
//if DR module is included
|
||||
addExtraPropertiesIfDrModuleIncluded(jsonObj, "Network");
|
||||
|
||||
args.response.success({
|
||||
actionFilter: cloudStack.actionFilter.guestNetwork,
|
||||
data: jsonObj
|
||||
|
|
|
|||
|
|
@ -1494,6 +1494,10 @@
|
|||
async: true,
|
||||
success: function(json) {
|
||||
var jsonObj = json.listvolumesresponse.volume[0];
|
||||
|
||||
//if DR module is included
|
||||
addExtraPropertiesIfDrModuleIncluded(jsonObj, "Volume");
|
||||
|
||||
args.response.success({
|
||||
actionFilter: volumeActionfilter,
|
||||
data: jsonObj
|
||||
|
|
|
|||
|
|
@ -1954,6 +1954,10 @@
|
|||
success: function (json) {
|
||||
selectedGuestNetworkObj = json.listnetworksresponse.network[0];
|
||||
addExtraPropertiesToGuestNetworkObject(selectedGuestNetworkObj);
|
||||
|
||||
//if DR module is included
|
||||
addExtraPropertiesIfDrModuleIncluded(selectedGuestNetworkObj, "Network");
|
||||
|
||||
args.response.success({
|
||||
actionFilter: cloudStack.actionFilter.guestNetwork,
|
||||
data: selectedGuestNetworkObj
|
||||
|
|
@ -7591,6 +7595,9 @@
|
|||
//override default error handling: cloudStack.dialog.notice({ message: parseXMLHttpResponse(XMLHttpResponse)});
|
||||
});
|
||||
|
||||
//if DR module is included
|
||||
addExtraPropertiesIfDrModuleIncluded(selectedZoneObj, "Zone");
|
||||
|
||||
args.response.success({
|
||||
actionFilter: zoneActionfilter,
|
||||
data: selectedZoneObj
|
||||
|
|
|
|||
Loading…
Reference in New Issue