SoFunction
Updated on 2025-04-06

Solution to fckeditor's failure to pop up dialog boxes in ie9 (pop-up layer compatibility issue)

So whether you want to paste content in the page editor or upload pictures, you will have problems with anything that requires pop-up operations. If you want to perform other operations, you can only refresh the page. The reason is that IE 9 does not support the writing method of var $=;.
The solution can be done like this:
Open this file, fckeditor/editor/js/fckeditorcode_ie.js, and find this method in line 38:
Put the original one
Copy the codeThe code is as follows:

=function(A){A.$=;};

The modification method is:
Copy the codeThe code is as follows:

=function(A){A.$=function(v){return (v);}};

I did the experiment myself and the results were ideal. .

By the way, FCKeditor has retired honorably, and the ckeditor instead has stronger functions and faster loading speed! If you are nostalgic about the image upload function of FCKeditor, you can use CKfinder to make up.