Bug #220372 --> File toolbar button does not work until Thunderbird is restarted

Patch by Jon Henry
This commit is contained in:
scott%scott-macgregor.org 2004-05-19 21:41:19 +00:00
parent 9797518dab
commit b1c6e4309f

View File

@ -43,6 +43,9 @@ function MailToolboxCustomizeDone(aToolboxChanged)
var menubar = document.getElementById("mail-menubar");
for (var i = 0; i < menubar.childNodes.length; ++i)
menubar.childNodes[i].setAttribute("disabled", false);
// Update (or create) "File" button's tree
SetupMoveCopyMenus('button-file', accountManagerDataSource, folderDataSource);
var customizePopup = document.getElementById("CustomizeMailToolbar");
customizePopup.removeAttribute("disabled");