rem: viewPickerOnLoad(); 
add: ViewPickerOnLoad(); 
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);  // make sure the mail views search box is initialized  if (document.getElementById("mailviews-container"))    viewPickerOnLoad();      // make sure the folder location picker is initialized  if (document.getElementById("folder-location-container"))  {    loadFolderViewForTree(gCurrentFolderView, document.getElementById('folderLocationPopup').tree);    UpdateFolderLocationPicker(gMsgFolderSelected);  }   gSearchInput = null;  if (document.getElementById("search-container"))    GetSearchInput();  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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/41934e83c6a01c077de3feee1d5ab695cb0ba9c1/mailCore.js/clean/mail/base/content/mailCore.js