#832 closed defect (invalid)
onLoad event does not work on IE when Editor2 widget is used
Reported by: | Owned by: | dylan | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | onLoad IE Editor2 | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
onLoad event does not work on IE when Editor widget is used FF and Opera works well
Change History (9)
comment:1 Changed 15 years ago by
Milestone: | → 0.4 |
---|
comment:2 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
Keywords: | Editor2 added |
---|---|
Priority: | highest → normal |
Resolution: | worksforme |
Status: | closed → reopened |
To set initial contents of editor2 I use dojo.event.connect to hook to onLoad event of Editor2 widget and do editor.replaceEditorContent(). Why can be found at: http://trac.dojotoolkit.org/ticket/1264
dojo.event.connect works for FF 1.5.0.6 but does not work for IE6.
comment:4 Changed 14 years ago by
Summary: | onLoad event does not work on IE when Editor widget is used → onLoad event does not work on IE when Editor2 widget is used |
---|
comment:6 Changed 14 years ago by
Cc: | [email protected]… added |
---|
[email protected]…, does onEditorLoad work for you?
comment:7 Changed 14 years ago by
Owner: | changed from anonymous to dylan |
---|---|
Status: | reopened → new |
comment:8 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
alright, the problem was in fact IE was faster than gecko to load the editor. So, this was not a bug but a timing problem. Sorry for bothering dojo people.
Note: See
TracTickets for help on using
tickets.
onload when using dojo's onload facility, or using an inline body onload attribute. If the latter, you should be using the former. If the former, please file a testcase.