summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-30 05:22:07 +0100
committerAndrew Dolgov <[email protected]>2005-12-30 05:22:07 +0100
commitb92e620990d9f76fd0f7573bac38bd54b2e7abd5 (patch)
tree41b3294f17a4480e96a98fa403cc73a56106af5d /functions.js
parente3c99f3b636d5003be417093d00b7b114a655bd1 (diff)
fix display of feed browser (probably closes #22)
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js14
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;