rem:  window.updateCommands("create");  } catch(e) {} 
add:  window._content.focus(); window.updateCommands("create"); 
context: function SetDocumentEditable(isDocEditable){  if (window.editorShell.editorDocument)  {    try {      var flags = window.editorShell.editor.flags;      window.editorShell.editor.flags = isDocEditable ?              flags &= ~nsIPlaintextEditor.eEditorReadonlyMask :            flags | nsIPlaintextEditor.eEditorReadonlyMask;      // update all commands      window.updateCommands("create");    } catch(e) {}  }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d91b053f419d4d0175bdb25deed21f7800ac5c27/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js