错误:
ReferenceError:未定义 setDynaTreeCustom
add.js 代码:
......
success: function(treeData){
try{
showPopup("Add Fields|",'multi_list','event',0,0,1);
alert("Here00!!")
setDynaTreeCustom(treeData);
alert("Here!!!");
}
catch(e)
{
alert(e);
alert(e.lineNumber);
errorExceptionLog(e,"js/request_custom_fields.js","populateTree","Custom Report","Creating Tree");
}
}
diff.js
function setDynaTreeCustom(treeData) {
try{
alert(" 000")
........// rest of the code
.....
}
在alert("Here00!!")
它说函数 setDynaTreeCustom 未定义之后,即使我在 CustomReport.js 中定义了同一文件夹中的不同 js 。