mirror of https://github.com/apache/cloudstack.git
new UI - domain tree - make whole domain row clickable (before this change, only domain name was clickable).
This commit is contained in:
parent
b420ec7797
commit
49e22e9b19
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue