зеркало из https://github.com/mozilla/gecko-dev.git
bug 268171 make typeaheadfind use preventDefault instead of stopPropagation so
that other handlers don't try to consume the key patch by Christian Persch <chpe@gnome.org> r=aaronlev sr=neil
This commit is contained in:
Родитель
4842ea180c
Коммит
ed51da8076
|
@ -726,7 +726,8 @@ nsTypeAheadFind::KeyPress(nsIDOMEvent* aEvent)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
aEvent->StopPropagation(); // We're using this key, no one else should
|
||||
// We're using this key, no one else should
|
||||
aEvent->PreventDefault();
|
||||
|
||||
return HandleChar(charCode);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче