Backing out my test

This commit is contained in:
mozilla.mano@sent.com 2007-10-13 15:13:58 -07:00
parent f4aa1d8d05
commit 652f538173
2 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@
element.setAttribute("siteURI", siteURI.spec);
}
var popup = document.createElementNS(XULNS, "menupopup");
//popup.setAttribute("type", "places");
popup.setAttribute("type", "places");
element.appendChild(popup);
#ifndef XP_MACOSX
// No context menus on menus on Mac
@ -246,7 +246,7 @@
// get applied correctly.
if (this._needsBindingAttachment) {
const MENU_URI = "chrome://browser/content/places/menu.xml#places-menupopup";
// document.addBinding(popup, MENU_URI);
document.addBinding(popup, MENU_URI);
}
#endif
popup._containerNodesMap = this._containerNodesMap;

View File

@ -220,7 +220,7 @@
button.setAttribute("siteURI", siteURIString);
}
var popup = document.createElementNS(XULNS, "menupopup");
//popup.setAttribute("type", "places");
popup.setAttribute("type", "places");
// This is set here and not in the XBL constructor for the menu because
// it doesn't get initialized properly in the constructor.
#ifndef XP_MACOSX