Opening the Model node by default in shape tracing

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-04-05 18:10:58 -07:00
parent 10f4bafe34
commit f7f83d7d34
2 changed files with 4 additions and 1 deletions

View File

@@ -406,6 +406,9 @@ jQuery(function ($) {
event.stopPropagation();
});
// open the root node (Model)
openExpando(shapeTracingMetaContent.find('.expando-glyph-container:first'))
defaultTab = displayTabModel;
};

View File

@@ -70,7 +70,7 @@
<div class="name">${name}</div>
<div class="value">${value}</div>
{{if children}}
<ul>
<ul style="display:none">
{{tmpl(children) "#shape-tracing-tabs-model-node-template"}}
</ul>
{{/if}}