Opened 16 years ago
Closed 16 years ago
#2628 closed Bug (worksforme)
OnSelectionChange / isDirty not handled correctly on FF when not focus set
Reported by: | André Schild | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.3 |
Keywords: | Pending WorksForMe | Cc: |
Description
I see the following problem with the current fck editor version (2.6.3). Currently I see this on Firefox 3.0.3 windows and ubuntu. IE 7 does work correctly (if OnSelectionChange works at all...)
- Create a editor instance
- Attach a OnSelectionChange event handler which evaluates the IsDirty() flag
- Now start the editor, make sure it has NOT the focus.
- Insert a image via the toolbar
As you can see, the OnSelectionChange event is not fired, and also the IsDirty() flag is not set to true.
If we do the same thing, but with fckeditor having the focus, then OnSelectionChange is fired and also IsDirty() is set correctly to true.
Attachments (1)
Change History (5)
Changed 16 years ago by
Attachment: | sample082.html added |
---|
comment:1 Changed 16 years ago by
Keywords: | Pending added |
---|
comment:2 Changed 16 years ago by
Yes, thats correct.
I tested it with the attached 082 sample and the 2.6.3 editor release.
OnSelectionChange is not fired if hasn't focus, but IsDirty is set to true.
comment:3 Changed 16 years ago by
Keywords: | WorksForMe added |
---|
I can't see any bug. OnSelectionChange was not fired because I didn't change selection and isDirty is correct.
comment:4 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
OnSelectionChange is not fired if hasn't focus, but IsDirty is set to true. Could you try it with attached sample082.html ?