Bug 305345 If find toolbar is already opened, if you press "'" or "/" key on browser, the character should not be set to find toolbar r=mconnor, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179126 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user