From 7d8d10c6ed5110c96204cc2d455dd04e93c6c196 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Dec 2005 21:47:07 +0100 Subject: [PATCH] select unread now resets needed checkboxes --- functions.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/functions.js b/functions.js index 7854b07d..6330c286 100644 --- a/functions.js +++ b/functions.js @@ -580,9 +580,25 @@ function selectTableRowsByIdPrefix(content_id, prefix, check_prefix, do_select, } } else if (reset_others) { 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) { 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; + } + } } } -- 2.39.5