From 101b7e38d85efb765a160062ce9dd225bfa0c809 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 22 Aug 2011 13:48:06 -0700 Subject: [PATCH] bug 11202: cloudStack - Service Offering page - fix a bug that Network Rate didn't get refreshed when another service offering is selected. --- ui/scripts/cloud.core.serviceoffering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.serviceoffering.js b/ui/scripts/cloud.core.serviceoffering.js index 0bfd5e55d92..041ae02a3d2 100644 --- a/ui/scripts/cloud.core.serviceoffering.js +++ b/ui/scripts/cloud.core.serviceoffering.js @@ -332,7 +332,7 @@ function serviceOfferingJsonToDetailsTab() { $thisTab.find("#storagetype").text(fromdb(jsonObj.storagetype)); $thisTab.find("#cpu").text(jsonObj.cpunumber + " x " + convertHz(jsonObj.cpuspeed)); $thisTab.find("#memory").text(convertBytes(parseInt(jsonObj.memory)*1024*1024)); - $thisTab.find("#network_rate").text(jsonObj.networkrate); + $thisTab.find("#network_rate").text(fromdb(jsonObj.networkrate)); setBooleanReadField(jsonObj.offerha, $thisTab.find("#offerha")); setBooleanEditField(jsonObj.offerha, $thisTab.find("#offerha_edit"));