Commit e126bad5 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files
parents ae7e86c4 a3cb2920
......@@ -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