#1907: JavaScript errors in Firefox 3.0b3
----------------------------+-----------------------------------------------
Reporter: matthiasmiller | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: General
Version: | Keywords:
----------------------------+-----------------------------------------------
I am getting sporadic errors when loading the editor in Firefox 3.0b3. The
problem is that fckeditorapi.js is appending a SCRIPT element to the
parent page to bootstrap the API. However, appending the SCRIPT element
appears to be an asynchronous action in Firefox, so it's not always
possible to immediately access {{{oParentWindow.FCKeditorAPI}}}. (I
discovered this because the parent page sometimes needs to load a script
that takes a second or two to fetch.)
A simple solution is to remove the check for
{{{FCKBrowserInfo.IsGecko19}}} added in r659, since the
[https://bugzilla.mozilla.org/show_bug.cgi?id=383682 Firefox bug has been
fixed].
As an aside, I don't know if this is an issue in Safari. If it is, you
might consider something like
[http://dean.edwards.name/weblog/2006/11/sandbox/#comment70076 this
approach].
--
Ticket URL: <http://dev.fckeditor.net/ticket/1907>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac