Opened 18 years ago
Closed 18 years ago
#1801 closed Bug (fixed)
JS error with dialogs and framesets
| Reported by: | Frederico Caldeira Knabben | Owned by: | Frederico Caldeira Knabben | 
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 | 
| Component: | UI : Dialogs | Version: | SVN (FCKeditor) - Retired | 
| Keywords: | Review+ | Cc: | 
Description
Steps to Reproduce
With IE7:
- Clear the browser cache.
 - Close all browser instances.
 - Open editor/_samples/default.html. Don't click on anything.
 - Click directly in the Image button to open its dialog. A JS error is thrown.
 
Works well with non IE browsers.
Attachments (1)
Change History (5)
Changed 18 years ago by
| Attachment: | 1801.patch added | 
|---|
comment:1 Changed 18 years ago by
| Keywords: | Review? added | 
|---|---|
| Status: | new → assigned | 
comment:2 Changed 18 years ago by
| Component: | General → UI : Dialogs | 
|---|
comment:3 Changed 18 years ago by
| Keywords: | Review+ added; Confirmed IE Review? removed | 
|---|
comment:4 Changed 18 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
Fixed with [1456]. Click here for more info about our SVN system.

It seems it is just a matter of selection focus. The proposed patch ensures that the editor will have the focus before saving the selection when opening the dialog.