Opened 14 years ago

Closed 13 years ago

#783 closed defect (worksforme)

Disconnect doesn't work on document

Reported by: beep@… 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)

DocumentEvent_BUG_TRAC_783.html (1.3 KB) - added by neil 13 years ago.
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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by neil

Owner: changed from anonymous to neil
Status: newassigned

comment:2 Changed 13 years ago by dylan

Component: CoreEvents
Milestone: 0.5

Changed 13 years ago by neil

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

comment:3 Changed 13 years ago by neil

Added testcase to demonstrate bug filed is no longer an issue.

comment:4 Changed 13 years ago by Eugene Lazutkin

Resolution: worksforme
Status: assignedclosed

Neil's test demonstrates that it works properly.

Note: See TracTickets for help on using tickets.