new dir can remove and create
This commit is contained in:
parent
a3b9762d02
commit
1b790e196d
|
@ -145,7 +145,9 @@ var wide = {
|
||||||
"name": name,
|
"name": name,
|
||||||
"iconSkin": iconSkin,
|
"iconSkin": iconSkin,
|
||||||
"path": request.path,
|
"path": request.path,
|
||||||
"mode": data.mode
|
"mode": data.mode,
|
||||||
|
"removable": true,
|
||||||
|
"creatable": true
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -185,7 +187,9 @@ var wide = {
|
||||||
tree.fileTree.addNodes(wide.curNode, [{
|
tree.fileTree.addNodes(wide.curNode, [{
|
||||||
"name": name,
|
"name": name,
|
||||||
"iconSkin": "ico-ztree-dir ",
|
"iconSkin": "ico-ztree-dir ",
|
||||||
"path": request.path
|
"path": request.path,
|
||||||
|
"removable": true,
|
||||||
|
"creatable": true
|
||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue