rem: if(!which) return; if( which.getAttribute ( "disabled" ) ) 
add: var which = document.getElementById('AddHTMLAttribute'); if(!which || which.getAttribute ( "disabled" ) ) 
context: function onAddHTMLAttribute(which){  if(!which)     return;  if( which.getAttribute ( "disabled" ) )    return;  var name  = dialog.AddHTMLAttributeNameInput.value;  var value = TrimString(dialog.AddHTMLAttributeValueInput.value);  if(name == "")    return;  if ( !CheckAttributeNameSimilarity( name, CSSAttrs ) )    return;  if ( AddTreeItem ( name, value, "HTMLAList", HTMLAttrs ) ) {    dialog.AddHTMLAttributeNameInput.value = "";    dialog.AddHTMLAttributeValueInput.value = "";  }  dialog.AddHTMLAttributeNameInput.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/06befed73f88a621fadd5782c71ebd97754635b2/EdAEHTMLAttributes.js/buggy/editor/ui/dialogs/content/EdAEHTMLAttributes.js