//文件分类
$('#cmb_fileclass').combotree({
url:'ashx/cfile.ashx?action=get_cmbtree_fileclass&t='+Math.random(),
required: true,
onlyLeafCheck:true,
checkbox:true,
multiple:false,
onBeforeSelect:function(node){
//var cnode = this.tree('getChildren', node.target);
var tree = $(this).tree;
if(tree('isLeaf',node.target)){
return true;
}
else{
return false;
}
}
});