rem: var title = GetString("untitled"); 
add: title = GetString("untitled"); 
context: function CheckAndSaveDocument(reasonToSave, allowDontSave){  var document = editorShell.editorDocument;  if (!editorShell.documentModified)    return true;    var title = window.editorShell.editorDocument.title;  if (!title)    var title = GetString("untitled");        var dialogTitle = window.editorShell.GetString("SaveDocument");  var dialogMsg = window.editorShell.GetString("SaveFilePrompt");  dialogMsg = (dialogMsg.replace(/%title%/,title)).replace(/%reason%/,reasonToSave);    var result = {value:0};  commonDialogsService.UniversalDialog(    window,    null,    dialogTitle,    dialogMsg,    null,    window.editorShell.GetString("Save"),     // Save Button    window.editorShell.GetString("Cancel"),   // Cancel Button    (allowDontSave ? window.editorShell.GetString("DontSave") : null), // Don't Save Button    null,    null,    null,    {value:0},    {value:0},    "chrome://global/skin/question-icon.gif",    {value:"false"},    (allowDontSave ? 3 : 2),    0,    0,    result    );      if (result.value == 0)    {     // Save     var success = window.editorShell.saveDocument(false, false);     return success;   }      if (result.value == 1) // "Cancel"     return false;   if (result.value == 2) // "Don't Save"     return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5986ab59396a3071965154ed4499fa5a734750cd/editor.js/clean/editor/ui/composer/content/editor.js