Opened 15 years ago
Closed 15 years ago
#783 closed defect (worksforme)
Disconnect doesn't work on document
Reported by: | Owned by: | neil | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Events | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I tried this with dojo 0.3.0 on Firefox 1.5:
dojo.event.connect(document, 'onkeydown', handleTyping);
dojo.event.disconnect(document, 'onkeydown', handleTyping);
The disconnect does nothing and so the handleTyping function is always called and the connection cannot be reset. Doing the same connection, for example, with an <input type="text" ...> however works correctly.
Attachments (1)
Change History (5)
comment:1 Changed 15 years ago by
Owner: | changed from anonymous to neil |
---|---|
Status: | new → assigned |
comment:2 Changed 15 years ago by
Component: | Core → Events |
---|---|
Milestone: | → 0.5 |
Changed 15 years ago by
Attachment: | DocumentEvent_BUG_TRAC_783.html added |
---|
comment:4 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Neil's test demonstrates that it works properly.
Note: See
TracTickets for help on using
tickets.
NOTE: THIS BUG FILED IS NO LONGER AN ISSUE, I provided a testcase file, DocumentEvent_BUG_TRAC_783.htm, to be run from ./tests/widget