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