This commit is contained in:
Liang Ding 2015-10-02 17:01:24 +08:00
parent 4657c48865
commit 54cfad611d
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@ var session = {
if (data.type && data.type === 'f') {
tree.fileTree.addNodes(dirNode, [{
"id": data.path,
"name": name,
"iconSkin": iconSkin,
"path": data.path,
@ -182,6 +183,7 @@ var session = {
} else {
tree.fileTree.addNodes(dirNode, [{
"id": data.path,
"name": name,
"iconSkin": "ico-ztree-dir ",
"path": data.path,