From: Andrew Dolgov Date: Fri, 30 Dec 2005 20:47:07 +0000 (+0100) Subject: select unread now resets needed checkboxes X-Git-Tag: schema_freeze_for_1.1.2~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7d8d10c6ed5110c96204cc2d455dd04e93c6c196;p=tt-rss.git select unread now resets needed checkboxes --- 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; + } + } } }