From fe1232e00625a112c6664d7727391c2ae20a1ab7 Mon Sep 17 00:00:00 2001 From: "heikki%netscape.com" Date: Thu, 7 Sep 2000 20:37:01 +0000 Subject: [PATCH] Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. git-svn-id: svn://10.0.0.236/trunk@78418 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/dom/src/base/nsGlobalWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/dom/src/base/nsGlobalWindow.cpp b/mozilla/dom/src/base/nsGlobalWindow.cpp index ca8e13ee781..4b616526fd6 100644 --- a/mozilla/dom/src/base/nsGlobalWindow.cpp +++ b/mozilla/dom/src/base/nsGlobalWindow.cpp @@ -464,6 +464,7 @@ NS_IMETHODIMP GlobalWindowImpl::HandleDOMEvent(nsIPresContext* aPresContext, // For now filter out load and unload, since they cause problems. if ((aEvent->message != NS_PAGE_LOAD) && (aEvent->message != NS_PAGE_UNLOAD) && + (aEvent->message != NS_IMAGE_LOAD) && (aEvent->message != NS_FOCUS_CONTENT) && (aEvent->message != NS_BLUR_CONTENT)) { mChromeEventHandler->HandleChromeEvent(aPresContext, aEvent,