From 49e22e9b19c443942eac3cf2ecf3e691a7ad1b76 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 29 Nov 2010 15:31:43 -0800 Subject: [PATCH] new UI - domain tree - make whole domain row clickable (before this change, only domain name was clickable). --- ui/scripts/cloud.core.domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.domain.js b/ui/scripts/cloud.core.domain.js index d02e341e92c..7803e233d82 100644 --- a/ui/scripts/cloud.core.domain.js +++ b/ui/scripts/cloud.core.domain.js @@ -272,7 +272,7 @@ function bindEventHandlerToDomainTreeNode() { if (action.indexOf("domain_expand_icon")!=-1) { clickExpandIcon(domainId); } - else if(action.indexOf("domain_name")!=-1) { + else { if($selectedDomainTreeNode != null && $selectedDomainTreeNode.data("jsonObj") != null) $selectedDomainTreeNode.find("#domain_title_container_"+$selectedDomainTreeNode.data("jsonObj").id).removeClass("selected"); $thisNode.find("#domain_title_container_"+domainId).addClass("selected");