rem: EnableDisableHierarchy(document.getElementById('mail-menubar'),false); EnableDisableHierarchy(getMailBar(),false); EnableDisableHierarchy(document.getElementById('calendar-toolbar'),false); 
add: EnableDisableHierarchy(document.getElementById('mail-menubar'), false); EnableDisableHierarchy(getMailBar(), false); EnableDisableHierarchy(document.getElementById('calendar-toolbar'), false); 
context: function ModeToolboxCustomizeDone(aToolboxChanged){  // the following code operates different whether  // or not we're actually customizing the mode toolbar or  // any other toolbar.  var isModeToolbox = (gCustomizeId == 'mode-toolbox');    // enable elements on the toolbars  if (isModeToolbox) {    EnableDisableHierarchy(document.getElementById('mail-menubar'),false);    EnableDisableHierarchy(getMailBar(),false);    EnableDisableHierarchy(document.getElementById('calendar-toolbar'),false);  }  // Unconditionally enable the mode toolbar  EnableHierarchy(document.getElementById('mode-toolbar'));    // Update global UI elements that may have been added or removed  MailToolboxCustomizeDone(aToolboxChanged);    // make sure our toolbar buttons have the correct enabled state restored to them...  document.commandDispatcher.updateCommands('calendar_commands');}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/49d99658257e01d5bb14d94382a0b2604eb4fa45/messenger-overlay-toolbar.js/buggy/calendar/lightning/content/messenger-overlay-toolbar.js