微软TreeView的一个BUG 在测试TreeView 作为弹出窗口的时候,会提示“Event 对象为空”之类的错误。
原因是 treeview.htc文件问题。
function doNodePlusMinusClick(el)
{
if (g_bInteractive == false)
return false;
if(event!=null)//add new
event.cancelBubble = true;
g_nodeClicked = el;
if (el.getAttribute("expanded") == false && el.getAttribute("_bound") == null && el.getAttribute("TreeNodeSrc") != null)
在1320行加if(event!=null)//add new by fishpro