From a9c82e2bd56260c3b01280cfaba733b4ba77c1a3 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 18 Oct 2010 15:20:57 -0700 Subject: [PATCH] new UI - fix a bug that host and primary storage appear more than once when clicking between different left menu. --- ui/new/scripts/cloud.core2.resource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/new/scripts/cloud.core2.resource.js b/ui/new/scripts/cloud.core2.resource.js index 27eb00e48d8..e8a68906892 100644 --- a/ui/new/scripts/cloud.core2.resource.js +++ b/ui/new/scripts/cloud.core2.resource.js @@ -42,7 +42,7 @@ function buildZoneTree() { } }); - $("#leftmenu_zone_node_template").bind("click", function(event) { + $("#leftmenu_zone_node_template").unbind("click").bind("click", function(event) { var template = $(this); var target = $(event.target); var action = target.attr("id");