This commit is contained in:
hyatt%netscape.com 2000-09-28 23:18:14 +00:00
Родитель 64c248b2e4
Коммит f39228badf
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -301,11 +301,9 @@ nsXBLPrototypeHandler::ExecuteHandler(nsIDOMEventReceiver* aReceiver, nsIDOMEven
nsCOMPtr<nsIJSEventListener> jsListener(do_QueryInterface(eventListener));
jsListener->SetEventName(onEventAtom);
// Handle the event.
eventListener->HandleEvent(aEvent);
// Now unbind it.
boundContext->BindCompiledEventHandler(scriptObject, onEventAtom, nsnull);
return NS_OK;
}

Просмотреть файл

@ -301,11 +301,9 @@ nsXBLPrototypeHandler::ExecuteHandler(nsIDOMEventReceiver* aReceiver, nsIDOMEven
nsCOMPtr<nsIJSEventListener> jsListener(do_QueryInterface(eventListener));
jsListener->SetEventName(onEventAtom);
// Handle the event.
eventListener->HandleEvent(aEvent);
// Now unbind it.
boundContext->BindCompiledEventHandler(scriptObject, onEventAtom, nsnull);
return NS_OK;
}