Re: TinyMCE 3.2.1 Released
I'm afraid I wasn't clear again. I did try using the editor_selector and changing the mode, and removing the execCommand(), and it did the same thing, so I figured that wasn't the fix I needed, and started trying to debug it the way it was before.
I'm pretty sure I finally figured out the problem! IE6 has various issues with gzip, like this one which causes pages not to load correctly when you have:
* Script in external files, for example, JScript (.js) files
* Frames and script inside the frames that refers to variables or to methods that are defined in other frames
* HTTP compression to compress the HTML and the script files
* HTTP headers that prevent the browser from caching the pages
The calendar popup we used was having issues at one point where select boxes would show through the div because of another IE6 bug, so on IE6 we create an additional iframe to put under it. I think this completed the requirements necessary to produce this bug.
So basically Internet Explorer wasn't reading and unpacking the gzipped javascript correctly sometimes. As the KB article says, "The symptoms of this problem typically occur inconsistently and may appear random." That behavior led me to believe there was some kind of timing error, which probably wasn't the case.
So I'm going to try the following when initializing the gzip loader:
var isIE6 = /msie|MSIE 6/.test(navigator.userAgent);
tinyMCE_GZ.init({
plugins : tnlTinyMcePluginList,
themes : 'advanced',
compress : !(isIE6), //IE6 isn't reliable with gzip.
languages : 'en'
});That way, I can still take advantage of the gzip loader to pack everything into one request, but it won't use gzip on IE6. As soon as I get a chance to test it, I'll let you know how it works out.
PS -- is there any reason that the bug fix mentioned here was never applied to the compressor JSP? All you have to do is remove a carriage return.
Last edited by j2jensen (2008-11-24 20:57:00)