rem: var which = document.getElementById("AddJSAttribute"); 
add: var which = document.getElementById("AddJSEAttribute"); 
context: function onAddJSEAttribute(){  var which = document.getElementById("AddJSAttribute");  if(!which || which.getAttribute ( "disabled" ) )    return;  var name = dialog.AddJSEAttributeNameInput.value;  var value = TrimString(dialog.AddJSEAttributeValueInput.value);  if( !name )    return;  if ( name.substring(0,2).toLowerCase() != "on" )    name = "on" + name;   // user has entered event without "on" prefix, add it  if ( AddTreeItem( name, value, "JSEAList", JSEAttrs ) ) {    dialog.AddJSEAttributeNameInput.value = "";    dialog.AddJSEAttributeValueInput.value = "";  }  dialog.AddJSEAttributeNameInput.focus();  doJSEEnabling();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/286885f61280637b310559b8b4b4612626ee1712/EdAEJSEAttributes.js/clean/editor/ui/dialogs/content/EdAEJSEAttributes.js