This commit is contained in:
hyatt%netscape.com 2000-02-09 09:39:15 +00:00
Родитель 96132f8ef9
Коммит aff94a67c5
2 изменённых файлов: 8 добавлений и 0 удалений

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

@ -307,6 +307,10 @@ nsXBLEventHandler::MouseEventMatched(nsIDOMUIEvent* aMouseEvent)
NS_IMETHODIMP
nsXBLEventHandler::ExecuteHandler(const nsString& aEventName, nsIDOMEvent* aEvent)
{
// We are the default action for this command.
// Stop any other default action from executing.
aEvent->PreventDefault();
// This is a special-case optimization to make command handling fast.
// It isn't really a part of XBL, but it helps speed things up.
nsAutoString command;

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

@ -307,6 +307,10 @@ nsXBLEventHandler::MouseEventMatched(nsIDOMUIEvent* aMouseEvent)
NS_IMETHODIMP
nsXBLEventHandler::ExecuteHandler(const nsString& aEventName, nsIDOMEvent* aEvent)
{
// We are the default action for this command.
// Stop any other default action from executing.
aEvent->PreventDefault();
// This is a special-case optimization to make command handling fast.
// It isn't really a part of XBL, but it helps speed things up.
nsAutoString command;