diff options
author | Andrew Dolgov <[email protected]> | 2005-12-30 05:22:07 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-30 05:22:07 +0100 |
commit | b92e620990d9f76fd0f7573bac38bd54b2e7abd5 (patch) | |
tree | 41b3294f17a4480e96a98fa403cc73a56106af5d /functions.js | |
parent | e3c99f3b636d5003be417093d00b7b114a655bd1 (diff) |
fix display of feed browser (probably closes #22)
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/functions.js b/functions.js index b75da2bd2..7854b07d6 100644 --- a/functions.js +++ b/functions.js @@ -625,6 +625,20 @@ function toggleSelectRowById(sender, id) { } } +function toggleSelectListRow(sender) { + var parent_row = sender.parentNode; + + if (sender.checked) { + if (!parent_row.className.match("Selected")) { + parent_row.className = parent_row.className + "Selected"; + } + } else { + if (parent_row.className.match("Selected")) { + parent_row.className = parent_row.className.replace("Selected", ""); + } + } +} + function toggleSelectRow(sender) { var parent_row = sender.parentNode.parentNode; |