add:  if (document.getElementById("mailviews-container")) viewPickerOnLoad();  gSearchInput = null; if (document.getElementById("search-container")) GetSearchInput();  
context: function MailToolboxCustomizeDone(aToolboxChanged){  // Update global UI elements that may have been added or removed  // Re-enable parts of the UI we disabled during the dialog  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  if (document.getElementById("button-file"))    SetupMoveCopyMenus('button-file', accountManagerDataSource, folderDataSource);  var customizePopup = document.getElementById("CustomizeMailToolbar");  customizePopup.removeAttribute("disabled");  // make sure our toolbar buttons have the correct enabled state restored to them...  if (this.UpdateMailToolbar != undefined)    UpdateMailToolbar(focus); }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/199f495389b7e1c2c15223f04fb8747aaf8ad608/mailCore.js/buggy/mail/base/content/mailCore.js