Ticket #693 (closed defect: invalid)
Issue with dojo.event.connect ordering of method calls
| Reported by: | anonymous | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 0.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I believe that there is a bug in dojo.event.connect when using after and around advice on the same method.
This may be a failure on my understanding, or a design decision for it to work this way, however I don't agree that the current implementation is correct.
I have attached a test html file.
In short :
dojo.debug('expect around-before, clicked, after, around-after'); dojo.debug('actual around-before, clicked, around-after, after'); var button1 = new Button(); dojo.event.connect('after', button1, 'onclick', afterHandler); dojo.event.connect('around', button1, 'onclick', aroundHandler); button1.onclick();
Attachments
Change History
Note: See
TracTickets for help on using
tickets.