Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
d6a9b716
Commit
d6a9b716
authored
Mar 19, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alert
parent
2712cb08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
zh-cn.js
lang/zh-cn/zh-cn.js
+7
-4
layout.default.js
src/module/layout.default.js
+2
-0
No files found.
lang/zh-cn/zh-cn.js
View file @
d6a9b716
...
...
@@ -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
src/module/layout.default.js
View file @
d6a9b716
...
...
@@ -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
]
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment