From b4029d0a491991ca6e3ec1ccac58dbd47d405bcc Mon Sep 17 00:00:00 2001 From: will Date: Mon, 20 Dec 2010 14:08:41 -0800 Subject: [PATCH] Fixed guest ip range display issue --- ui/scripts/cloud.core.pod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.pod.js b/ui/scripts/cloud.core.pod.js index 852b28b0cdc..f2db4a5df09 100644 --- a/ui/scripts/cloud.core.pod.js +++ b/ui/scripts/cloud.core.pod.js @@ -173,7 +173,7 @@ function podNetworkJsonToTemplate(jsonObj, template) { template.attr("id", "pod_VLAN_"+fromdb(jsonObj.id)).data("podVLANId", fromdb(jsonObj.id)); template.find("#grid_header_title").text(fromdb(jsonObj.description)); template.find("#id").text(fromdb(jsonObj.id)); - template.find("#iprange").text(fromdb(jsonObj.description)); + template.find("#iprange").text(fromdb(getIpRange(jsonObj.startip, jsonObj.endip))); template.find("#netmask").text(fromdb(jsonObj.netmask)); template.find("#gateway").text(fromdb(jsonObj.gateway)); template.find("#podname").text(fromdb(jsonObj.podname));