From ed51da807666190511d3db1355cce8e9abed479b Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Wed, 28 Sep 2005 15:34:48 +0000 Subject: [PATCH] bug 268171 make typeaheadfind use preventDefault instead of stopPropagation so that other handlers don't try to consume the key patch by Christian Persch r=aaronlev sr=neil --- extensions/typeaheadfind/src/nsTypeAheadFind.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/typeaheadfind/src/nsTypeAheadFind.cpp b/extensions/typeaheadfind/src/nsTypeAheadFind.cpp index 30df7aaa24f5..15f4e64dbacf 100644 --- a/extensions/typeaheadfind/src/nsTypeAheadFind.cpp +++ b/extensions/typeaheadfind/src/nsTypeAheadFind.cpp @@ -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); }