fix bug regarding the deletion of all rows, when removing an address from mail compose form, when more than 4 addresses where in the list. Reason: remaining Address rows have been set to height 0, instead of defaulting to a defaultvalue, when reading the value of clientHeight of the first row in the list failed

This commit is contained in:
Klaus Leithoff 2011-08-29 08:45:24 +00:00
parent d10b19485e
commit 64167c1422

View File

@ -184,6 +184,7 @@ function deleteTableRow(_imageObject)
tableBody.removeChild(tableRow);
singleRowHeight = tableRows[0].clientHeight;
if (singleRowHeight == 0) singleRowHeight = 20;
if(tableRows.length > 4) {
neededHeight = singleRowHeight*4;
} else {