edit contextmenu and create_node
This commit is contained in:
parent
700a9145ba
commit
f96806bbe1
File diff suppressed because one or more lines are too long
|
@ -89,10 +89,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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue