From 87449c90819814b5f63cc30608083708db799d30 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 20 Oct 2010 18:02:55 -0700 Subject: [PATCH] new UI - domain page - indent the whole tree 30 pixels by default. --- ui/new/scripts/cloud.core2.domain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/new/scripts/cloud.core2.domain.js b/ui/new/scripts/cloud.core2.domain.js index 36526713b2a..aa51c4bdb3f 100644 --- a/ui/new/scripts/cloud.core2.domain.js +++ b/ui/new/scripts/cloud.core2.domain.js @@ -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);