mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 305345 If find toolbar is already opened, if you press "'" or "/" key on browser, the character should not be set to find toolbar a=mconnor
This commit is contained in:
parent
ec5069804e
commit
a4d5ab3de2
@ -502,7 +502,9 @@ function onBrowserKeyPress(evt)
|
||||
focusFindBar();
|
||||
if (gFindMode != FIND_NORMAL) {
|
||||
findField.value = "";
|
||||
fireKeypressEvent(findField.inputField, evt);
|
||||
if (evt.charCode != CHAR_CODE_APOSTROPHE &&
|
||||
evt.charCode != CHAR_CODE_SLASH)
|
||||
fireKeypressEvent(findField.inputField, evt);
|
||||
evt.preventDefault();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user