From fdd2b27e60afc7c55e65a84b2665d41723f00372 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 21 Oct 2010 14:17:51 -0700 Subject: [PATCH] new UI - domain tree - fix a bug that tree is not expandable after coming back from other pages. --- ui/new/scripts/cloud.core2.domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/new/scripts/cloud.core2.domain.js b/ui/new/scripts/cloud.core2.domain.js index d2224aaab42..e883ff27117 100644 --- a/ui/new/scripts/cloud.core2.domain.js +++ b/ui/new/scripts/cloud.core2.domain.js @@ -124,7 +124,7 @@ function afterLoadDomainJSP() { }); } - $treenodeTemplate.bind("click", function(event) { + $treenodeTemplate.unbind("click").bind("click", function(event) { var $thisNode = $(this); var target = $(event.target); var action = target.attr("id");