select unread now resets needed checkboxes

This commit is contained in:
Andrew Dolgov 2005-12-30 21:47:07 +01:00
parent 262c2426c5
commit 7d8d10c6ed
1 changed files with 16 additions and 0 deletions

View File

@ -580,9 +580,25 @@ function selectTableRowsByIdPrefix(content_id, prefix, check_prefix, do_select,
} }
} else if (reset_others) { } else if (reset_others) {
selectTableRow(content.rows[i], false); selectTableRow(content.rows[i], false);
var row_id = content.rows[i].id.replace(prefix, "");
var check = document.getElementById(check_prefix + row_id);
if (check) {
check.checked = false;
}
} }
} else if (reset_others) { } else if (reset_others) {
selectTableRow(content.rows[i], false); selectTableRow(content.rows[i], false);
var row_id = content.rows[i].id.replace(prefix, "");
var check = document.getElementById(check_prefix + row_id);
if (check) {
check.checked = false;
}
} }
} }
} }