现在的位置: 首页 > 综合 > 正文

微软TreeView的一个BUG

2012年09月20日 ⁄ 综合 ⁄ 共 364字 ⁄ 字号 评论关闭

微软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 

抱歉!评论已关闭.