rem:   dialog.charsetTree.focus(); 
add: dialog.TitleInput.focus(); 
context: function Startup(){  if (!InitEditorShell())    return;  doSetOKCancel(onOK, null);  // Create dialog object to store controls for easy access  dialog = new Object;  // GET EACH CONTROL -- E.G.:  dialog.TitleInput = document.getElementById("TitleInput");  dialog.charsetTree      = document.getElementById('CharsetTree');   //dialog.charsetRoot  = document.getElementById('CharsetRoot');  contenttypeElement = GetHTTPEquivMetaElement("content-type"); if(! contenttypeElement ) {    contenttypeElement = CreateHTTPEquivMetaElement("content-type");    if( ! contenttypeElement )      window.close();    insertNewContentType = true; }  InitDialog();    // SET FOCUS TO FIRST CONTROL  //dialog.editBox.focus();  //dialog.TitleInput.focus();  dialog.charsetTree.focus();  LoadAvailableCharSets();  initDone = true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7eedb58c104c053baf19ad0ec2d93622357c4dbd/EditorSaveAsCharset.js/buggy/editor/ui/dialogs/content/EditorSaveAsCharset.js