bug 11202: cloudStack - Service Offering page - fix a bug that Network Rate didn't get refreshed when another service offering is selected.

This commit is contained in:
Jessica Wang 2011-08-22 13:48:06 -07:00
parent 409964eff5
commit 101b7e38d8
1 changed files with 1 additions and 1 deletions

View File

@ -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"));