From eabad148e8966c1d0859ecf81638d9336c0479fa Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 24 Nov 2010 16:17:26 -0800 Subject: [PATCH] new UI - IP address page - clear grid header title and static NAT field after releasing IP. --- ui/scripts/cloud.core.ipaddress.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/scripts/cloud.core.ipaddress.js b/ui/scripts/cloud.core.ipaddress.js index 57d25e7c5d9..5ed27be564f 100644 --- a/ui/scripts/cloud.core.ipaddress.js +++ b/ui/scripts/cloud.core.ipaddress.js @@ -826,7 +826,8 @@ function ipJsonToDetailsTab() { function ipClearDetailsTab() { var $thisTab = $("#right_panel_content #tab_content_details"); - + + $thisTab.find("#grid_header_title").text(""); $thisTab.find("#ipaddress").text(""); $thisTab.find("#zonename").text(""); $thisTab.find("#vlanname").text(""); @@ -834,7 +835,10 @@ function ipClearDetailsTab() { $thisTab.find("#network_type").text(""); $thisTab.find("#domain").text(""); $thisTab.find("#account").text(""); - $thisTab.find("#allocated").text(""); + $thisTab.find("#allocated").text(""); + $thisTab.find("#static_nat").text(""); + $thisTab.find("#vm_of_static_nat").text(""); + //actions *** var $actionMenu = $("#right_panel_content #tab_content_details #action_link #action_menu");