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
4dc690c8
Commit
4dc690c8
authored
May 08, 2014
by
techird
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of github.com:fex-team/kityminder into dev
parents
bde47fd0
e966f0a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGELOG.md
CHANGELOG.md
+1
-1
dragtree.js
src/module/dragtree.js
+3
-0
No files found.
CHANGELOG.md
View file @
4dc690c8
...
...
@@ -5,7 +5,7 @@
1.
添加保存时可修改文件名
2.
添加超链接功能
3.
选中节点时,按F2直接进入文字编辑状态
4.
添加展开收起节点
4.
加上"展开全部节点""收起全部节点"功能
5.
当前选中的高亮的节点可直接进行文字编辑
##问题修复
...
...
src/module/dragtree.js
View file @
4dc690c8
...
...
@@ -22,6 +22,9 @@ var MoveToParentCommand = kity.createClass( 'MoveToParentCommand', {
node
=
nodes
[
i
];
if
(
node
.
getParent
()
)
{
minder
.
removeNode
(
[
node
]
);
if
(
!
parent
.
isExpanded
()
&&
parent
.
getChildren
().
length
>
0
&&
parent
.
getType
()
!==
'root'
)
{
minder
.
expandNode
(
parent
);
}
minder
.
appendChildNode
(
parent
,
node
);
}
}
...
...
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