Bug 943770 - Australis: include toolbars with toolboxid attribute set in View -> Toolbars menu and toolbar context menu, r=gijs

This commit is contained in:
Geek in Training 2013-12-02 14:05:00 +01:00
parent 0ea414dcf9
commit 16473019d5

View File

@ -4163,6 +4163,7 @@ function onViewToolbarsPopupShowing(aEvent, aInsertPoint) {
var firstMenuItem = aInsertPoint || popup.firstChild;
let toolbarNodes = Array.slice(gNavToolbox.childNodes);
toolbarNodes = toolbarNodes.concat(gNavToolbox.externalToolbars);
for (let toolbar of toolbarNodes) {
let toolbarName = toolbar.getAttribute("toolbarname");