fckeditor2.6在IE9下的弹出窗口报错问题解决

fckeditor2.6在IE9下的弹出窗口报错问题解决.

原因, IE9 开始不支持 JS 的这个写法了 var $=document.getElementById;

 

修改方法:

见 fckeditor/editor/js/fckeditorcode_ie.js 的38行的这个方法:

FCKTools.RegisterDollarFunction

修改为:FCKTools.RegisterDollarFunction=function(A){A.$=function(v){return A.document.getElementById(v);}};

posted @ 2012-05-11 18:27  Lyghost  阅读(254)  评论(0编辑  收藏  举报