rem: if (gDialog.labelText.value) { var textNode = editor.document.createTextNode(gDialog.labelText.value); editor.insertNode(textNode, labelElement, 0); editor.selectElement(labelElement); } 
add: if (gDialog.labelText.value) editor.insertNode(editor.document.createTextNode(gDialog.labelText.value), labelElement, 0); 
context: function onAccept(){  // All values are valid - copy to actual element in doc  ValidateData();  var editor = GetCurrentEditor();  editor.beginTransaction();  try {    if (gDialog.editText.checked)    {      editor.setShouldTxnSetSelection(false);      while (labelElement.firstChild)        editor.deleteNode(labelElement.firstChild);      if (gDialog.labelText.value) {        var textNode = editor.document.createTextNode(gDialog.labelText.value);        editor.insertNode(textNode, labelElement, 0);        editor.selectElement(labelElement);      }      editor.setShouldTxnSetSelection(true);    }    editor.cloneAttributes(labelElement, globalElement);  } catch(e) {}  editor.endTransaction();  SaveWindowLocation();  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/161212bb0026cff780d4cc07e50d7cf54d70e70b/EdLabelProps.js/clean/editor/ui/dialogs/content/EdLabelProps.js