new UI - domain tree - make whole domain row clickable (before this change, only domain name was clickable).

This commit is contained in:
Jessica Wang 2010-11-29 15:31:43 -08:00
parent b420ec7797
commit 49e22e9b19
1 changed files with 1 additions and 1 deletions

View File

@ -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");