This commit is contained in:
hmm 2014-08-21 15:07:43 +08:00
commit 8b3fd4c047
2 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -94,10 +94,9 @@ function jstreeCreate(containerId){
var tmp = $.jstree.defaults.contextmenu.items();
delete tmp.create;
delete tmp.ccp;
delete tmp.remove;
if(containerId == "useBehaviorList"){
if(node.data!="page" && node.data!="batch"){
delete tmp.rename;
}
delete tmp.rename;
}
return tmp;
}