new dir can remove and create

This commit is contained in:
Van 2014-11-06 17:55:07 +08:00
parent a3b9762d02
commit 1b790e196d
1 changed files with 6 additions and 2 deletions

View File

@ -145,7 +145,9 @@ var wide = {
"name": name,
"iconSkin": iconSkin,
"path": request.path,
"mode": data.mode
"mode": data.mode,
"removable": true,
"creatable": true
}]);
}
});
@ -185,7 +187,9 @@ var wide = {
tree.fileTree.addNodes(wide.curNode, [{
"name": name,
"iconSkin": "ico-ztree-dir ",
"path": request.path
"path": request.path,
"removable": true,
"creatable": true
}]);
}
});