From 08bb9acc22ece8eaecfeb14cb7ae14704aa9ec99 Mon Sep 17 00:00:00 2001 From: "enndeakin%sympatico.ca" Date: Thu, 21 Feb 2008 20:26:49 +0000 Subject: [PATCH] Bug 405719, temporary change to fix orange, will investigate git-svn-id: svn://10.0.0.236/trunk@246220 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/xul/base/src/nsXULPopupManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/layout/xul/base/src/nsXULPopupManager.cpp b/mozilla/layout/xul/base/src/nsXULPopupManager.cpp index 216df6732e7..b462a8e2dab 100644 --- a/mozilla/layout/xul/base/src/nsXULPopupManager.cpp +++ b/mozilla/layout/xul/base/src/nsXULPopupManager.cpp @@ -934,6 +934,10 @@ nsXULPopupManager::FirePopupShowingEvent(nsIContent* aPopup, { nsCOMPtr presShell = aPresContext->PresShell(); + if (aMenu) + aMenu->SetAttr(kNameSpaceID_None, nsGkAtoms::open, + NS_LITERAL_STRING("true"), PR_TRUE); + // XXXndeakin (bug 383930) // eventually, the popup events will be a different event type with // additional fields for the anchor node and position and so forth. This