Commit a3cb2920 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

showElement not working for tables in IE

parent 30eeeec7
......@@ -225,7 +225,8 @@ attached.updateOnLoad();
function redrawAttachList() {
if (attached.tbody.hasChildNodes()) {
setDisplayForElement('', attached.table);
// Make sure row classes alternate 'r1', 'r0', 'r1', etc.
for (var i = 0; i < attached.tbody.childNodes.length; i++) {
setElementClass(attached.tbody.childNodes[i], 'r'+(i+1)%2);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment