Ticket #1907 (closed Bug: fixed)
JavaScript errors in Firefox 3.0b3
| Reported by: | matthiasmiller | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6.3 |
| Component: | General | Version: | FCKeditor 2.5.1 |
| Keywords: | Review+ | Cc: |
Description
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 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 this approach.
