rem: if (msgCompFields) { switch (target.getAttribute('id')) { case "1": break; case "2": msgCompFields.SetTheForcePlainText(true); msgCompFields.SetUseMultipartAlternativeFlag(false); break; case "3": msgCompFields.SetTheForcePlainText(false); msgCompFields.SetUseMultipartAlternativeFlag(false); break; case "4": msgCompFields.SetTheForcePlainText(false); msgCompFields.SetUseMultipartAlternativeFlag(true); break; default: break; } } 
add: if (msgCompFields) { switch (target.getAttribute('id')) { case "1": sendFormat = msgCompSendFormat.AskUser;     break; case "2": sendFormat = msgCompSendFormat.PlainText;   break; case "3": sendFormat = msgCompSendFormat.HTML;        break; case "4": sendFormat = msgCompSendFormat.Both;        break; default: break; } } 
context: function OutputFormatMenuSelect(target){	dump("Set Message Format to " + target.getAttribute('id') + "\n");	if (msgCompose)	{		var msgCompFields = msgCompose.compFields;       if (msgCompFields)    {      switch (target.getAttribute('id'))	    {		    case "1":        			    break;	    		    case "2":          msgCompFields.SetTheForcePlainText(true);          msgCompFields.SetUseMultipartAlternativeFlag(false);			    break;	    		    case "3":          msgCompFields.SetTheForcePlainText(false);          msgCompFields.SetUseMultipartAlternativeFlag(false);			    break;        case "4":          msgCompFields.SetTheForcePlainText(false);          msgCompFields.SetUseMultipartAlternativeFlag(true);          break;		    default:			    break;			    }    }	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b805bebf7615f0e2145f4437e7b55520d099d6d4/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js