修复ie9 fckeditor2.6 弹出窗口问题

来源:互联网 发布:excel200删除重复数据 编辑:程序博客网 时间:2024/04/29 20:21

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);}};

 

原创粉丝点击