ace editor, markdown editor

This commit is contained in:
life
2015-01-08 00:36:28 +08:00
parent be01c9c3f7
commit 2cfc89ca5f
1233 changed files with 24568 additions and 10275 deletions

View File

@ -830,8 +830,10 @@
}
if (!isSilent) {
if(parentNode.Subs.length > 0) {
if(parentNode.Subs && parentNode.Subs.length > 0) {
view.expandCollapseParentNode(setting, parentNode, true);
} else {
parentNode.Subs = [];
}
}