Commit e37a414b authored by hy's avatar hy

fix bug#198,当点击展开收起事件时会选中所属节点

parent d6638b50
......@@ -142,6 +142,7 @@ define(function(require, exports, module) {
initEvent: function(node) {
this.on('mousedown', function(e) {
minder.select([node], true);
if (node.isExpanded()) {
node.collapse();
} else {
......@@ -289,4 +290,4 @@ define(function(require, exports, module) {
}]
};
});
});
\ No newline at end of file
});
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