rem:  if (msgCompFields) { switch (target.getAttribute('id')) { case "1": gSendFormat = nsIMsgCompSendFormat.AskUser;     break; case "2": gSendFormat = nsIMsgCompSendFormat.PlainText;   break; case "3": gSendFormat = nsIMsgCompSendFormat.HTML;        break; case "4": gSendFormat = nsIMsgCompSendFormat.Both;        break; } } 
add: if (msgCompFields) switch (target.getAttribute('id')) { case "format_auto":  gSendFormat = nsIMsgCompSendFormat.AskUser;     break; case "format_plain": gSendFormat = nsIMsgCompSendFormat.PlainText;   break; case "format_html":  gSendFormat = nsIMsgCompSendFormat.HTML;        break; case "format_both":  gSendFormat = nsIMsgCompSendFormat.Both;        break; } 
context: function OutputFormatMenuSelect(target){  dump("Set Message Format to " + target.getAttribute('id') + "\n");  if (gMsgCompose)  {    var msgCompFields = gMsgCompose.compFields;        if (msgCompFields)        {            switch (target.getAttribute('id'))          {            case "1": gSendFormat = nsIMsgCompSendFormat.AskUser;     break;            case "2": gSendFormat = nsIMsgCompSendFormat.PlainText;   break;            case "3": gSendFormat = nsIMsgCompSendFormat.HTML;        break;            case "4": gSendFormat = nsIMsgCompSendFormat.Both;        break;          }        }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/74f7526e39a9a7eca7af7b34a318e828582af0c5/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js