function callback1(){ reloadMind(); LoadTree0($("#tt1"),"137103"); setTimeout(function(){ var node = $('#tt1').tree('find', selectedTreeId); var pNode=$("#tt1").tree("getParent", node.target); $("#tt1").tree("expand", pNode.target); $('#tt1').tree('select', node.target); init(); },1000); } function init(){ $("#container jmnode").unbind("dbclick"); $("#container jmnode").dblclick(function () { var url = jm1.get_selected_node().data.url; selectedTreeId=$("#tt1").tree('getSelected').id url+="&callback=callback1" var title = jm1.get_selected_node().topic; PW.getWindow(url, title + "维护", 900, 600); }) }