Creo que te has equivocado:
Código Javascript
:
Ver originalfunction openDiv(id_div, total_bids, id_shipment){
if(document.getElementById('dialogBidDetails'+id_div+'_'+id_shipment).style.display == 'table-row'){
document.getElementById('dialogBidDetails'+id_div+'_'+id_shipment).style.display = 'none';
document.getElementById('bid_'+id_div+'_'+id_shipment).removeAttribute("tr_sin_hover");
}else{
for(var i=1; i<=total_bids; i++){
if(document.getElementById('dialogBidDetails'+i+'_'+id_shipment).style.display == 'table-row'){
document.getElementById('dialogBidDetails'+i+'_'+id_shipment).style.display = 'none'
document.getElementById('bid_'+id_div+'_'+id_shipment).removeAttribute("tr_sin_hover");
}
}
document.getElementById('dialogBidDetails'+id_div+'_'+id_shipment).style.display = 'table-row';
document.getElementById('bid_'+id_div+'_'+id_shipment).addAttribute("tr_con_hover");
}
}
Sería addAttribute en la última línea.