rem: window.opener.ok = true; window.opener.exportToText = dialog.exportToText.checked; SaveWindowLocation(); return true; } 
add: editorShell.EndBatchChanges();  if(titleWasEdited) window.opener.newTitle = dialog.TitleInput.value.trimString();  window.opener.ok = true; window.opener.exportToText = dialog.exportToText.checked; SaveWindowLocation(); return true; } 
context: function onOK(){  editorShell.BeginBatchChanges();   if(charsetWasChanged)    {      SetMetaElementContent(contenttypeElement, "text/html; charset=" + charset, insertNewContentType);           editorShell.SetDocumentCharacterSet(charset);   }   editorShell.EndBatchChanges();  if(titleWasEdited) {    window.opener.newTitle = dialog.TitleInput.value.trimString();  }   window.opener.ok = true;   window.opener.exportToText = dialog.exportToText.checked;   SaveWindowLocation();   return true; }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/42d86b736108df63361a21ef343ba217c6017eca/EditorSaveAsCharset.js/clean/editor/ui/dialogs/content/EditorSaveAsCharset.js