From c49078f5b3666911711e88379674efc515adf37f Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 8 Nov 2010 15:39:46 -0800 Subject: [PATCH] new UI - IP address - UpdatePortForwardingRule API returns objects in different structure. This is related UI change. --- ui/scripts/cloud.core.ipaddress.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/cloud.core.ipaddress.js b/ui/scripts/cloud.core.ipaddress.js index 44867356eea..f0e0bb876f9 100644 --- a/ui/scripts/cloud.core.ipaddress.js +++ b/ui/scripts/cloud.core.ipaddress.js @@ -912,8 +912,8 @@ function portForwardingJsonToTemplate(jsonObj, $template) { return; //Job has not completed } else { $("body").stopTime(timerKey); - if (result.jobstatus == 1) { // Succeeded - var item = result.jobresult.updateportforwardingruleresponse; + if (result.jobstatus == 1) { // Succeeded + var item = result.jobresult.portforwardingrule; portForwardingJsonToTemplate(item,$template); $spinningWheel.hide(); $rowContainerEdit.hide();