rem:  window.openDialog("chrome: } else { hLine = window.editorShell.CreateElementWithDefaults(tagName); if (hLine) { window.editorShell.InsertElement(hLine, false); } 
add: editorShell.InsertElement(hLine, false); 
context: function EditorInsertHLine(){  if (window.editorShell) {    // Inserting an HLine is different in that we don't use properties dialog    //  unless we are editing an existing line's attributes    //  We get the last-used attributes from the prefs and insert immediately    tagName = "hr";    hLine = window.editorShell.GetSelectedElement(tagName);    if (hLine) {      // We only open the dialog for an existing HRule      window.openDialog("chrome://editordlgs/content/EdHLineProps.xul", "dlg", "chrome", "");    } else {      hLine = window.editorShell.CreateElementWithDefaults(tagName);      if (hLine) {        window.editorShell.InsertElement(hLine, false);      }    }  }  contentWindow.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f85acd993e8835575d09e6f4e3a5600489696848/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js