mirror of https://github.com/apache/cloudstack.git
new UI - domain page - indent the whole tree 30 pixels by default.
This commit is contained in:
parent
97a8f3f9ab
commit
87449c9081
|
|
@ -37,7 +37,7 @@ function afterLoadDomainJSP() {
|
|||
domainIdNameMap[json.id] = json.name; //map domainId to domainName
|
||||
|
||||
var template = $treenodeTemplate.clone(true);
|
||||
template.find("#domain_indent").css("marginLeft", (30*level));
|
||||
template.find("#domain_indent").css("marginLeft", (30*(level+1)));
|
||||
template.attr("id", "domain_"+json.id);
|
||||
template.data("jsonObj", json).data("domainLevel", level);
|
||||
template.find("#domain_title_container").attr("id", "domain_title_container_"+json.id);
|
||||
|
|
|
|||
Loading…
Reference in New Issue