зеркало из https://github.com/mozilla/pjs.git
Bug 383328 - no 'open in tabs' menu item for folders / livemarks in bookmark toolbar overflow chevron. r=sspitzer.
This commit is contained in:
Родитель
53dced9de0
Коммит
6ba6e2670c
|
@ -286,9 +286,10 @@ var BookmarksEventHandler = {
|
|||
* DOMEvent for popupshowing
|
||||
*/
|
||||
onPopupShowing: function BM_onPopupShowing(event) {
|
||||
var target = event.target;
|
||||
|
||||
if (target.localName == "menupopup" && target.id != "bookmarksMenuPopup") {
|
||||
var target = event.originalTarget;
|
||||
if (target.localName == "menupopup" &&
|
||||
target.id != "bookmarksMenuPopup" &&
|
||||
target.getAttribute("anonid") != "chevronPopup") {
|
||||
// Show "Open All in Tabs" menuitem if there are at least
|
||||
// two menuitems with places result nodes, and "Open (Feed Name)"
|
||||
// if it's a livemark with a siteURI.
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
mousethrough="never"
|
||||
collapsed="true">
|
||||
<xul:menupopup type="places"
|
||||
anonid="chevronPopup"
|
||||
#ifndef XP_MACOSX
|
||||
context="placesContext"
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче