Bug 300710 part.1 Specify context menu for bookmark items to bookmark toolbar items r=mak

This commit is contained in:
Masayuki Nakano 2013-11-27 10:12:43 +09:00
parent 9ed492a1a7
commit 908f13b4d2

View File

@ -326,10 +326,6 @@ PlacesViewBase.prototype = {
popup.setAttribute("placespopup", "true");
}
#ifdef XP_MACOSX
// No context menu on mac.
popup.setAttribute("context", "placesContext");
#endif
element.appendChild(popup);
element.className = "menu-iconic bookmark-item";
@ -988,9 +984,7 @@ PlacesToolbar.prototype = {
popup.setAttribute("placespopup", "true");
button.appendChild(popup);
popup._placesNode = PlacesUtils.asContainer(aChild);
#ifndef XP_MACOSX
popup.setAttribute("context", "placesContext");
#endif
this._domNodes.set(aChild, popup);
}