Commit 06532951 authored by campaign's avatar campaign

Merge remote-tracking branch 'origin/dev' into dev

parents 1f40d528 aeea4585
......@@ -569,7 +569,7 @@ KityMinder.registerModule( "LayoutDefault", function () {
var c = _buffer[ j ].getChildren();
if (
(
( ( sub_nolimit || ( c.length <= expandoptions.defaultSubShow ) ) && ( cur_layer <= expand_layer ) ) ||
( ( sub_nolimit || ( c.length <= expandoptions.defaultSubShow ) ) && ( layer_nolimit || ( cur_layer <= expand_layer ) ) ) ||
_buffer[ j ].getLayout().expand
) && c.length !== 0 ) {
this.expandNode( _buffer[ j ] );
......@@ -594,7 +594,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
node.getContRc().clear();
Layout = node.getLayout();
Layout.expand = oldExpand || false;
console.log( oldExpand );
if ( parent.getType() !== 'root' ) {
parent.getLayout().expand = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment