Opened 8 years ago
Closed 8 years ago
#16342 closed defect (fixed)
on.emit() doesn't set evt.defaultPrevented for IE6-8
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9 |
Component: | Events | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
on.emit() supports event emission even on older browsers that don't support dispatchEvent(). But in this case, evt.defaultPrevented is not set. It works on newer browsers.
Attachments (1)
Change History (3)
Changed 8 years ago by
Attachment: | synthClick.html added |
---|
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|---|
Owner: | changed from Kris Zyp to bill |
Status: | new → assigned |
Strangely, it sets event.cancelable to false, maybe meaning that you can't cancel the event because it's already cancelled??
In any case, this is a one line fix so I'll check it in.
Note: See
TracTickets for help on using
tickets.
test case, press button and see console messages