]> git.wh0rd.org Git - tt-rss.git/commitdiff
select unread now resets needed checkboxes
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 30 Dec 2005 20:47:07 +0000 (21:47 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 30 Dec 2005 20:47:07 +0000 (21:47 +0100)
functions.js

index 7854b07d6e40c418c9cdedc7cfe4408ae565e8c8..6330c2861a8cb15d524c9820025690cce6d4ea44 100644 (file)
@@ -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;
+                       }
+
                }
        }
 }