Opened 17 years ago
Closed 17 years ago
#2945 closed Bug (fixed)
Editor instance intialization error
| Reported by: | Garry Yao | Owned by: | Frederico Caldeira Knabben |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Confirmed Review+ | Cc: |
Description (last modified by )
The create editor on the fly APIs assume FORM always existed which is false. Reproducing procedures:
- Open _samples\api_dialog.html example.
- Got JavaScript Error in FF.
Attachments (2)
Change History (8)
comment:1 Changed 17 years ago by
| Description: | modified (diff) |
|---|
Changed 17 years ago by
| Attachment: | 2945.patch added |
|---|
comment:2 Changed 17 years ago by
| Keywords: | Review? added |
|---|---|
| Status: | new → assigned |
comment:3 Changed 17 years ago by
| Keywords: | Review- added; Review? removed |
|---|
Changed 17 years ago by
| Attachment: | 2945_2.patch added |
|---|
comment:4 Changed 17 years ago by
| Keywords: | Review? added; Review- removed |
|---|---|
| Owner: | changed from Garry Yao to Frederico Caldeira Knabben |
| Status: | assigned → new |
comment:5 Changed 17 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:6 Changed 17 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed with [3094]. Click here for more info about our SVN system.

Good catch. The fix could be a little different though. The fact is that the "form" variable must not exist if there is no form. It should not create the "empty" element objects.
I'm attaching a new patch to it.