This commit is contained in:
parent
4657c48865
commit
54cfad611d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue