Fixes Issue #1535
As of Safari3, event.button returns 0 instead of 1. This change in the
API causes DOM.eventGetButton method to return -1. This change uses
event.which for Safari, Mozilla and Opera browsers and translates
the value to IE's more sensible set of event.button values.

Found by: fredsa, ronald.hughes
Patch by: jlabanca
Review by: knorton



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1772 8db76d5a-ed1c-0410-87a9-c151d255dfc7
3 files changed