mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Make Click() work on image inputs. Bug 96595, patch by basic@mozillanews.org,
r=bzbarsky, sr=jst
This commit is contained in:
parent
19f99820f6
commit
efb5ed5c24
@ -1260,7 +1260,8 @@ nsHTMLInputElement::Click()
|
||||
mType == NS_FORM_INPUT_CHECKBOX ||
|
||||
mType == NS_FORM_INPUT_RADIO ||
|
||||
mType == NS_FORM_INPUT_RESET ||
|
||||
mType == NS_FORM_INPUT_SUBMIT)) {
|
||||
mType == NS_FORM_INPUT_SUBMIT ||
|
||||
mType == NS_FORM_INPUT_IMAGE)) {
|
||||
|
||||
nsCOMPtr<nsIDocument> doc = mDocument; // Strong in case the event kills it
|
||||
nsCOMPtr<nsIPresContext> context;
|
||||
|
Loading…
x
Reference in New Issue
Block a user