зеркало из https://github.com/mozilla/gecko-dev.git
Bug 291781 bookmark context menu no longer works after customizing toolbar r=mconnor
This commit is contained in:
Родитель
277901a6fb
Коммит
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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче