new UI - domain page - indent the whole tree 30 pixels by default.

This commit is contained in:
Jessica Wang 2010-10-20 18:02:55 -07:00
parent 97a8f3f9ab
commit 87449c9081
1 changed files with 1 additions and 1 deletions

View File

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