mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 291781 bookmark context menu no longer works after customizing toolbar r=mconnor
This commit is contained in:
parent
277901a6fb
commit
0d94a8fa70
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user