rem: popup = dialog.AddJSEAttributeNameList.firstChild; if (popup) { sep = document.createElementNS("http: if (sep) popup.appendChild(sep); } 
add: return; }  for (i = 0; i < attNames.length; i++) AppendStringToMenulist(dialog.AddJSEAttributeNameList, attNames[i]);  popup = dialog.AddJSEAttributeNameList.firstChild; if (popup) { sep = document.createElementNS("http: if (sep) popup.appendChild(sep); } } 
context: function BuildJSEAttributeNameList(){  ClearMenulist(dialog.AddJSEAttributeNameList);    // Get events specific to current element  var attNames = gJSAttr[gElement.localName.toLowerCase()];  var i;  var popup;  var sep;  if (attNames && attNames.length)  {    for (i = 0; i < attNames.length; i++)      AppendStringToMenulist(dialog.AddJSEAttributeNameList, attNames[i]);    popup = dialog.AddJSEAttributeNameList.firstChild;    if (popup)    {      sep = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuseparator");      if (sep)        popup.appendChild(sep);    }          }  // Always add core JS events  for (i = 0; i < gCoreJSEvents.length; i++)  {    if (gCoreJSEvents[i] == "-")    {      if (!popup)        popup = dialog.AddJSEAttributeNameList.firstChild;      sep = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuseparator");      if (popup && sep)        popup.appendChild(sep);    }    else      AppendStringToMenulist(dialog.AddJSEAttributeNameList, gCoreJSEvents[i]);  }    dialog.AddJSEAttributeNameList.selectedIndex = 0;  // Use current name and value of first tree item if it exists  onSelectJSETreeItem();  dialog.AddJSEAttributeNameList.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1b897a579bf4cca96195c18b8ac23c6b851d9ee7/EdAEJSEAttributes.js/buggy/editor/ui/dialogs/content/EdAEJSEAttributes.js