rem: editorShell.editor.SetFlags(nsIPlaintextEditor.eEditorReadonlyMask); 
add: var flags = new Object; editorShell.editor.GetFlags(flags); editorShell.editor.SetFlags(flags.value | nsIPlaintextEditor.eEditorReadonlyMask); 
context: function disableEditableFields(){  editorShell.editor.SetFlags(nsIPlaintextEditor.eEditorReadonlyMask);  var disableElements = document.getElementsByAttribute("disableonsend", "true");  for (i=0;i<disableElements.length;i++)  {    disableElements[i].setAttribute('disabled', 'true');  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/534ed8ad12ff974ced477897c43be3458772e441/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js