rem: var docModified = editorShell.documentModified; 
add: var docModified = window.editorShell.documentModified; 
context: function editorSendPage(){  var docModified = editorShell.documentModified;  var pageUrl = window.editorShell.editorDocument.location;  if (pageUrl != "about:blank" && !docModified)  {    var pageTitle = window.editorShell.editorDocument.title;    window.openDialog("chrome://messenger/content/messengercompose/messengercompose.xul", "_blank",                         "chrome,all,dialog=no", "attachment='" + pageUrl.replace(/\,/g, "%2C") + "',body='" + pageUrl +                        "',subject='" + pageTitle + "',bodyislink=true");  }   else if (CheckAndSaveDocument(GetString("SendPageReason")), DocumentHasBeenSaved())    editorSendPage();  window._content.focus();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/a857fc568da2a2359d487fae8b4fa07217ff9f98/editor.js/buggy/editor/ui/composer/content/editor.js