Opened 16 years ago

Closed 16 years ago

#969 closed defect (invalid)

dojo.event.connect for window onload event doesn't work inside SWT Browser widget

Reported by: [email protected] Owned by: anonymous
Priority: high Milestone:
Component: General Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


dojo.event.connect(window, "onload", function() {alert("hello");});

will throw a JavaScript? Object Error of Type Error and message "Not implemented" if being used in a webpage displayed inside a SWT Browser widget. It did work in version 0.22 of the dojotoolkit.

Change History (2)

comment:1 Changed 16 years ago by Tom Trenka

Not sure if this is relevant for you or not, but Dojo implements a special onload event method (dojo.addOnLoad) which you should probably be using (as opposed to the method you have above).

You might want to try that.

comment:2 Changed 16 years ago by guest

Resolution: invalid
Status: newclosed

thank you, with addOnLoad it works.

Note: See TracTickets for help on using tickets.