From 4a84ff7ee15dc285ed99472b4e5d4465716e8ae7 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 29 Oct 2010 13:46:05 -0700 Subject: [PATCH] new UI - global setting - fix a bug that Add Buttons from other pages didn't go away when visiting this page. --- ui/new/scripts/cloud.core2.init.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/new/scripts/cloud.core2.init.js b/ui/new/scripts/cloud.core2.init.js index 55ab7f66756..39783a7ec65 100644 --- a/ui/new/scripts/cloud.core2.init.js +++ b/ui/new/scripts/cloud.core2.init.js @@ -116,6 +116,8 @@ $(document).ready(function() { $("#leftmenu_global_setting").bind("click", function(event) { selectLeftSubMenu($(this)); + hideMiddleMenu(); + clearMiddleMenu(); $("#right_panel").load("jsp/globalsetting.jsp", function(){ var $actionLink = $("#right_panel_content #tab_content_details #action_link");