CLOUDSTACK-7796: UI > network > detail view > data provider > remove unnecessary module check.

This commit is contained in:
Jessica Wang 2014-10-28 11:25:56 -07:00
parent 8acdd7fbf2
commit 26cf97e2de

View File

@ -1385,12 +1385,7 @@
async: true, async: true,
success: function(json) { success: function(json) {
var jsonObj = json.listnetworksresponse.network[0]; var jsonObj = json.listnetworksresponse.network[0];
addExtraPropertiesToGuestNetworkObject(jsonObj); addExtraPropertiesToGuestNetworkObject(jsonObj);
if (isModuleIncluded("dr")) {
cloudStack.dr.sharedFunctions.addExtraProperties(jsonObj, "Network");
}
args.response.success({ args.response.success({
actionFilter: cloudStack.actionFilter.guestNetwork, actionFilter: cloudStack.actionFilter.guestNetwork,
data: jsonObj data: jsonObj