From 88bd1633115ee45d620df11535489843f7ba23f6 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Tue, 24 Jul 2007 20:50:41 +0000 Subject: [PATCH] Bug 388148 - Places View for Menus broken since bug #337855. r=dietrich. --- browser/components/places/content/menu.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/browser/components/places/content/menu.xml b/browser/components/places/content/menu.xml index f306861e240..e3e30c1c5ee 100755 --- a/browser/components/places/content/menu.xml +++ b/browser/components/places/content/menu.xml @@ -240,7 +240,7 @@ popup.setAttribute("context", "placesContext"); #endif popup._result = this._result; - popup._resultNode = child; + popup._resultNode = asContainer(child); element.className = "menu-iconic bookmark-item"; #ifdef XP_MACOSX // If this is a child of the bookmarks menubar, we have to manually attach @@ -254,8 +254,7 @@ popup._containerNodesMap = this._containerNodesMap; this._containerNodesMap.push({ resultNode: child, domNode: popup }); } - // else if (nodeIsQuery) ... add menu to build kids - + if (element) { element.node = child; if (child.icon)