$(function(){
// 上级节点
$('#cc').combotree();
// 展示资源树
$("#tt").tree({
url:path+'/pdc_Resources/list',
animate:true,
lines:true,
// 点击属性节点,表示要修改节点
onClick:function(node){
console.info(node); -----------------------------------------is null why?
?? $("#res_content").children().remove(); // 删除先前load
// 不是点击资源管理---进入修改
if(node.id != 0){
$("#res_content").load(path+"/pdc_Resources/edit/"+node.id);
}else{
$("#res_content").load(path+"/pdc_Resources/add");
}
},
onLoadSuccess:function(node,data){
$('#cc').combotree("loadData",data)
}
});
});
My English is so bad .
EasyUI Vesion is 1.4.1 and I have add the easyui-1.4.1-patch.zip. but it doesn't work!