зеркало из https://github.com/mozilla/pjs.git
typeahead bustage fix
This commit is contained in:
Родитель
9a61afb1c3
Коммит
530f8a34c7
|
@ -2275,7 +2275,7 @@ nsTypeAheadFind::RemoveWindowListeners(nsIDOMWindow *aDOMWin)
|
||||||
nsCOMPtr<nsPIDOMEventTarget> piTarget(do_QueryInterface(chromeEventHandler));
|
nsCOMPtr<nsPIDOMEventTarget> piTarget(do_QueryInterface(chromeEventHandler));
|
||||||
nsCOMPtr<nsIDOMEventGroup> systemGroup;
|
nsCOMPtr<nsIDOMEventGroup> systemGroup;
|
||||||
piTarget->GetSystemEventGroup(getter_AddRefs(systemGroup));
|
piTarget->GetSystemEventGroup(getter_AddRefs(systemGroup));
|
||||||
nsCOMPtr<nsIDOM3EventTarget> target(do_QueryInterface(receiver));
|
nsCOMPtr<nsIDOM3EventTarget> target(do_QueryInterface(piTarget));
|
||||||
|
|
||||||
target->RemoveGroupedEventListener(NS_LITERAL_STRING("keypress"),
|
target->RemoveGroupedEventListener(NS_LITERAL_STRING("keypress"),
|
||||||
NS_STATIC_CAST(nsIDOMKeyListener*, this),
|
NS_STATIC_CAST(nsIDOMKeyListener*, this),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче