rem: if (element == gLastElementToHaveFocus) { 
add: if (focusedWindow == gLastWindowToHaveFocus) { 
context: function CommandUpdate_MsgCompose(){  if (gSuppressCommandUpdating) {    //dump("XXX supressing\n");    return;  }  var element = top.document.commandDispatcher.focusedElement;  // we're just setting focus to where it was before  if (element == gLastElementToHaveFocus) {    //dump("XXX skip\n");    return;  }  gLastElementToHaveFocus = element;  //dump("XXX update, focus on " + element + "\n");    updateComposeItems();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d35f7743b4b564df7b516d5b5ca6d286ed90163a/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js