Displaying 1 result from an estimated 1 matches for "icon_delete_disabled".
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
...on removeLineItem(e) {
//alert( Event.element(e).tagName );
//alert( Event.element(e).up("tr").tagName );
var tr = Event.element(e).up("tr");
tr.parentNode.removeChild(tr);
var _rows = getLineItems();
if ( _rows.length == 3 ) {
_rows[0].down("img").src = "icon_delete_disabled.gif";
Event.stopObserving( _rows[0].down("a.rowctl"), "click",
removeLineItem );
}
}
Event.observe( window, "load", function() {
var _rows = getLineItems();
_rows.each( function(r,indx) {
if ( indx < _rows.length - 2 && _rows.length > 3 )...