зеркало из https://github.com/mozilla/pjs.git
Bug 388148 - Places View for Menus broken since bug #337855. r=dietrich.
This commit is contained in:
Родитель
967742a562
Коммит
88bd163311
|
@ -240,7 +240,7 @@
|
||||||
popup.setAttribute("context", "placesContext");
|
popup.setAttribute("context", "placesContext");
|
||||||
#endif
|
#endif
|
||||||
popup._result = this._result;
|
popup._result = this._result;
|
||||||
popup._resultNode = child;
|
popup._resultNode = asContainer(child);
|
||||||
element.className = "menu-iconic bookmark-item";
|
element.className = "menu-iconic bookmark-item";
|
||||||
#ifdef XP_MACOSX
|
#ifdef XP_MACOSX
|
||||||
// If this is a child of the bookmarks menubar, we have to manually attach
|
// If this is a child of the bookmarks menubar, we have to manually attach
|
||||||
|
@ -254,8 +254,7 @@
|
||||||
popup._containerNodesMap = this._containerNodesMap;
|
popup._containerNodesMap = this._containerNodesMap;
|
||||||
this._containerNodesMap.push({ resultNode: child, domNode: popup });
|
this._containerNodesMap.push({ resultNode: child, domNode: popup });
|
||||||
}
|
}
|
||||||
// else if (nodeIsQuery) ... add menu to build kids
|
|
||||||
|
|
||||||
if (element) {
|
if (element) {
|
||||||
element.node = child;
|
element.node = child;
|
||||||
if (child.icon)
|
if (child.icon)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче