rem: var buttonArray=new Array('RemoveButton','CollapseButton','ExpandButton'); 
add: var buttonArray=new Array('RemoveButton','CollapseButton','ExpandButton', 'TogglePlacementButton'); 
context: function addNewAttributeRows(attribid){    var table=document.getElementById( "AttributesTable" );    if ( table != null )    {        var rows=table.rows;        var newHeaderRow=table.insertRow(rows.length);        newHeaderRow.id="AttributeHeaderRow_" + attribid;        var newHeader1=document.createElement( "th" );        newHeader1.className="tight";        newHeaderRow.appendChild(newHeader1);        newHeader1.id="newHeader" + attribid + "_1";        var newHeader2=document.createElement( "th" );        newHeader2.className="wide";        newHeaderRow.appendChild(newHeader2);        newHeader2.id="newHeader" + attribid + "_2";        var newHeader3=document.createElement( "th" );        newHeader3.className="tight";        newHeaderRow.appendChild(newHeader3);        newHeader3.id="newHeader" + attribid + "_3";        var newRow=table.insertRow(rows.length);        newRow.id="newRow" + attribid;        var newCell1=newRow.insertCell(0);        newCell1.id="newCell" + attribid + "_1";        var newCell2=newRow.insertCell(1);        newCell2.colSpan=2;        newCell2.id="newCell" + attribid + "_2";    }    else    {        window.alert( 'Unable to find attributes table.' );    }    var buttonArray=new Array('RemoveButton','CollapseButton','ExpandButton');    var button;    var j;    for(j=0;j<buttonArray.length;j++)    {        button=document.getElementById(buttonArray[j]);        if(button){           button.className=button.className.replace('button-disabled','button');           button.disabled=false;        }    }    var noAttributes=document.getElementById('NoAttributesMessage');    if (noAttributes){     noAttributes.parentNode.removeChild(noAttributes);    }}
meta: 2541	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2541/4f7420b181c546a1e737f3ffdbbe954cca2c7b42/xajax_classattributes.js/buggy/design/standard/javascript/xajax_app/xajax_classattributes.js