Node creation triggered by a function in the thickbox window, after creation the node dissapears. Why could it be happening? Here is my code listing:
$("#treeDiv").jstree("create",
"#node_133",
"last",
{
"attr" : { "rel" : $("#nodetype option:selected").val().replace("add_","") },
"data" : fratitle
},
function() { alert("added"); },
true
);