From 720200957d8735a5281d7aafe5b04326bdb4619f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Mar 2006 12:08:19 +0100 Subject: minor headlines select/deselect glitches fixes --- functions.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index db8f695ff..58ef1bfc7 100644 --- a/functions.js +++ b/functions.js @@ -184,7 +184,6 @@ function cleanSelected(element) { for (i = 0; i < content.rows.length; i++) { content.rows[i].className = content.rows[i].className.replace("Selected", ""); } - } function getVisibleUnreadHeadlines() { @@ -242,6 +241,12 @@ function markHeadline(id) { row.className = row.className = "Active"; } + var check = document.getElementById("RCHK-" + id); + + if (check) { + check.checked = true; + } + row.className = row.className + "Selected"; } -- cgit v1.2.3