Ticket #6745 (closed enhancement: duplicate)
event.button normalization in dojo.fixEvent
| Reported by: | guest | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Events | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In dojo.fixEvent, there should be some code that normalizes the 'button' property.
In most browsers, this is the case: 0 - left mouse button 1 - middle mouse button 2 - right mouse button
However, in IE it is different: 1 - left mouse button 2 - right mouse button 4 - middle mouse button
Also, Gecko treats Ctrl–Click as a right click, so it's value is 2.
Change History
Note: See
TracTickets for help on using
tickets.