rem: dialog.AddHTMLAttributeValueInput = document.getElementById("AddHTMLAttributeValueInput"); dialog.AddHTMLAttribute           = document.getElementById("AddHTMLAttribute"); dialog.AddCSSAttributeNameInput   = document.getElementById("AddCSSAttributeNameInput"); dialog.AddCSSAttributeValueInput  = document.getElementById("AddCSSAttributeValueInput"); dialog.AddCSSAttribute            = document.getElementById("AddCSSAttribute"); dialog.AddJSEAttributeNameInput   = document.getElementById("AddJSEAttributeNameInput"); dialog.AddJSEAttributeValueInput  = document.getElementById("AddJSEAttributeValueInput"); dialog.AddJSEAttribute            = document.getElementById("AddJSEAttribute"); 
add:   dialog.AddHTMLAttributeValueDeck     = document.getElementById("AddHTMLAttributeValueDeck"); dialog.AddHTMLAttributeValueMenulist = document.getElementById("AddHTMLAttributeValueMenulist"); dialog.AddHTMLAttributeValueTextbox  = document.getElementById("AddHTMLAttributeValueTextbox"); dialog.AddHTMLAttributeValueInput    = dialog.AddHTMLAttributeValueTextbox;  dialog.AddHTMLAttributeTree          = document.getElementById("HTMLATree"); dialog.AddCSSAttributeNameInput      = document.getElementById("AddCSSAttributeNameInput"); dialog.AddCSSAttributeValueInput     = document.getElementById("AddCSSAttributeValueInput"); dialog.AddCSSAttributeTree           = document.getElementById("CSSATree"); dialog.AddJSEAttributeNameList       = document.getElementById("AddJSEAttributeNameList"); dialog.AddJSEAttributeValueInput     = document.getElementById("AddJSEAttributeValueInput"); dialog.AddJSEAttributeTree           = document.getElementById("JSEATree"); dialog.okButton                      = document.getElementById("ok"); 
context: function Startup(){  // This is the return value for the parent,  // who only needs to know if OK was clicked  window.opener.AdvancedEditOK = false;  if (!InitEditorShell())    return;  // initialise the ok and cancel buttons  doSetOKCancel(onOK, onCancel);  // Element to edit is passed in  element = window.arguments[1];  if (!element || element == undefined) {    dump("Advanced Edit: Element to edit not supplied\n");    window.close();  }  // place the tag name in the header  var tagLabel = document.getElementById("tagLabel");  tagLabel.setAttribute("value", ("<" + element.localName + ">"));  // Create dialog object to store controls for easy access  dialog                            = {};  dialog.AddHTMLAttributeNameInput  = document.getElementById("AddHTMLAttributeNameInput");  dialog.AddHTMLAttributeValueInput = document.getElementById("AddHTMLAttributeValueInput");  dialog.AddHTMLAttribute           = document.getElementById("AddHTMLAttribute");  dialog.AddCSSAttributeNameInput   = document.getElementById("AddCSSAttributeNameInput");  dialog.AddCSSAttributeValueInput  = document.getElementById("AddCSSAttributeValueInput");  dialog.AddCSSAttribute            = document.getElementById("AddCSSAttribute");  dialog.AddJSEAttributeNameInput   = document.getElementById("AddJSEAttributeNameInput");  dialog.AddJSEAttributeValueInput  = document.getElementById("AddJSEAttributeValueInput");  dialog.AddJSEAttribute            = document.getElementById("AddJSEAttribute");  // build the attribute trees  BuildHTMLAttributeTable();  BuildCSSAttributeTable();  BuildJSEAttributeTable();  // size the dialog properly  window.sizeToContent();  SetWindowLocation();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/67127d21aab9da81c954dbf83b744db869f5c4b0/EdAdvancedEdit.js/clean/editor/ui/dialogs/content/EdAdvancedEdit.js