add
This commit is contained in:
parent
846648f424
commit
2296c787a2
|
@ -77,5 +77,11 @@ function jstreeCreate(containerId){
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"plugins" : [ "contextmenu","dnd","types","wholerow" ]
|
"plugins" : [ "contextmenu","dnd","types","wholerow" ]
|
||||||
|
}).on('select_node.jstree',function(e,data){
|
||||||
|
if(data.selected.length>1){
|
||||||
|
var ref = $("#"+containerId).jstree(true);
|
||||||
|
ref.deselect_all();
|
||||||
|
ref.select_node(data.node);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue