Opened 18 years ago
Closed 17 years ago
#183 closed Bug (fixed)
Unloads too early from hosted IE control
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | FCKeditor 2.3.2 |
Keywords: | SF Confirmed | Cc: |
Description
When IE is hosted inside another application it fires unload events when control hides. FCKeditor unloads and when control is visible again editor's unusable. The following page describes the problem:
http://support.microsoft.com/default.aspx?scid=kb;en-us;199155
The best way to fix this is to handle onbeforeunload event to verify that page is unloading and unload only then. this should be quite easy to fix.
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1597845&group_id=75348&atid=543653
Change History (4)
comment:1 Changed 18 years ago by
Reporter: | changed from Frederico Caldeira Knabben to ornus@… |
---|
comment:2 Changed 18 years ago by
Keywords: | Confirmed added |
---|
comment:3 Changed 18 years ago by
Milestone: | → FCKeditor 2.5 |
---|
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with [546].
Click here for more info about our SVN system.
From the above URL:
Note that we should not simply replace onunload with onbeforeunload. I remember of issues on using onbeforeunload to make the mem leak cleanup. We should still make the cleanup at onunload, but use onbeforeunload to flag it, as described above.