mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView.
This commit is contained in:
parent
a8212d9ef4
commit
044c5e0eee
@ -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
|
||||
|
||||
@ -1497,6 +1497,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…
x
Reference in New Issue
Block a user