I have a weird bug that I am hoping someone can help me with. After we upgraded to the latest FCKEditor version we are now getting an unusual error message.
First some context: We built a discussion board using FCKEditor and the FCKEditor Java taglibs. The implementation is that we have a frameset containing a message list on the top and the editor in the lower frame. Wrapping the editor tags is a form tag. The editor has a custom plugin called "Post Comment". Pressing the custom button invokes javascript in the lower frame that simply submits the form containing the editor to the server.
The problem is that the first time the user clicks the Post Comment button, an alert is displayed containing the message "TypeError: E has no properties". I traced through the Javascript to verify that the custom plugin works properly and that it is calling our "form submit" javascript (i.e., the javascript contained in the editor's frame). It seems however that the act of submitting the editor's form is causing the TypeError alert to be displayed.
I have a question that might shed some light on the problem. I know that the editor resides within an IFrame and that a hidden form field is used to contain the editor text entered by the user. The question is: when is the hidden field populated with the editor text? Upon form submission? If so could the act of submitting the form be causing an error within FCKEditor? The reason that I suspect FCKEditor is that the identical code worked fine before we upgraded to the latest editor version.
Any help would be much appreciated!
Steve
[PS Moderator: I accidentally posted this message in the "Open Discussion" forum. Would you please delete the message from that forum?]
First some context: We built a discussion board using FCKEditor and the FCKEditor Java taglibs. The implementation is that we have a frameset containing a message list on the top and the editor in the lower frame. Wrapping the editor tags is a form tag. The editor has a custom plugin called "Post Comment". Pressing the custom button invokes javascript in the lower frame that simply submits the form containing the editor to the server.
The problem is that the first time the user clicks the Post Comment button, an alert is displayed containing the message "TypeError: E has no properties". I traced through the Javascript to verify that the custom plugin works properly and that it is calling our "form submit" javascript (i.e., the javascript contained in the editor's frame). It seems however that the act of submitting the editor's form is causing the TypeError alert to be displayed.
I have a question that might shed some light on the problem. I know that the editor resides within an IFrame and that a hidden form field is used to contain the editor text entered by the user. The question is: when is the hidden field populated with the editor text? Upon form submission? If so could the act of submitting the form be causing an error within FCKEditor? The reason that I suspect FCKEditor is that the identical code worked fine before we upgraded to the latest editor version.
Any help would be much appreciated!
Steve
[PS Moderator: I accidentally posted this message in the "Open Discussion" forum. Would you please delete the message from that forum?]

RE: TypeError: E has no properties
Thanks,
Steve