rem: unwrapToolbarItems(); 
add: unwrapToolbarItems(false); 
context: function onCancel(){  // restore the saved toolbarset for each customizeable toolbar  unwrapToolbarItems();  var toolbar = gToolbox.firstChild;  while (toolbar) {    if (isCustomizableToolbar(toolbar)) {      if (!toolbar.hasAttribute("customindex")) {        var previousset = toolbar.getAttribute("previousset");        if (previousset)        {          toolbar.currentSet = previousset;        }      }    }    toolbar = toolbar.nextSibling;  }  // Now rebuild the palette.  buildPalette();  // Now re-wrap the items on the toolbar.  wrapToolbarItems();  repositionDialog();  gToolboxChanged = true;  return onAccept(); // we restored the default toolbar, act like a normal accept event now}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a477303983b28cc0ab095c20e7f369086e806cb9/customizeToolbar.js/buggy/mail/base/content/customizeToolbar.js