Commit d6a9b716 authored by Akikonata's avatar Akikonata

alert

parent 2712cb08
......@@ -17,7 +17,7 @@ KityMinder.LANG[ 'zh-cn' ] = {
'zoom-out': '缩小',
'markers': '添加标签',
'switchlayout': '切换主题',
'help':'帮助'
'help': '帮助'
},
'popupcolor': {
'clearColor': '清空颜色',
......@@ -40,6 +40,9 @@ KityMinder.LANG[ 'zh-cn' ] = {
'threequartersdone': '完成3/4',
'done': '已完成'
}
},
'help': {
}
},
'node': {
......@@ -47,9 +50,9 @@ KityMinder.LANG[ 'zh-cn' ] = {
'appendchildnode': '插入子节点',
'removenode': '删除节点'
},
'layout':{
'default':'左右展开',
'bottom':'向下展开'
'layout': {
'default': '左右展开',
'bottom': '向下展开'
}
};
\ No newline at end of file
......@@ -646,12 +646,14 @@ KityMinder.registerModule( "LayoutDefault", function () {
if ( Layout.shicon ) Layout.shicon.remove();
} catch ( error ) {}
}
//if ( _buffer[ 0 ].getData( "expand" ) !== false )
_buffer = _buffer.concat( _buffer[ 0 ].getChildren() );
_buffer.shift();
}
if ( isExpand ) {
node.clearChildren();
for ( var j = 0; j < _cleanbuffer.length; j++ ) {
//if ( _cleanbuffer[ j ].getData( "expand" ) !== false )
_cleanbuffer[ j ].clearChildren();
minder.appendChildNode( _cleanbuffer[ j ].getLayout().parent, _cleanbuffer[ j ] );
}
......
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