]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
combined article display mode (option COMBINED_DISPLAY_MODE), remove xml feed output
[tt-rss.git] / functions.js
index d901cbb90f88c27f3e776286f4a76c2716d2ad31..b72c1157bfa3819c0d90b9f557715d734c787adb 100644 (file)
@@ -537,6 +537,21 @@ function getSelectedTableRowIds(content_id, prefix) {
 
 }
 
+function toggleSelectRowById(sender, id) {
+       var row = document.getElementById(id);
+
+       if (sender.checked) {
+               if (!row.className.match("Selected")) {
+                       row.className = row.className + "Selected";
+               }
+       } else {
+               if (row.className.match("Selected")) {
+                       row.className = row.className.replace("Selected", "");
+               }
+       }
+}
+
+
 function toggleSelectRow(sender) {
        var parent_row = sender.parentNode.parentNode;