Bug 291781 bookmark context menu no longer works after customizing toolbar r=mconnor

This commit is contained in:
masayuki@d-toybox.com
2005-09-15 16:45:39 +00:00
parent 13164a34e3
commit c86fb6ebdc

View File

@@ -3067,6 +3067,11 @@ function BrowserToolboxCustomizeDone(aToolboxChanged)
BookmarksToolbar.resizeFunc(null);
}
// fix bug 291781 - controller has been lost while removeChild and appendChild
var bm = document.getElementById("bookmarks-menu");
if (bm)
bm.controllers.appendController(BookmarksMenuController);
// XXX Shouldn't have to do this, but I do
window.focus();
}