fix broken toolbar in combined view mode

This commit is contained in:
Andrew Dolgov 2006-11-01 05:49:48 +01:00
parent aa2122d46f
commit b2128f017e
2 changed files with 7 additions and 3 deletions

View File

@ -2672,7 +2672,11 @@
<a href=\"javascript:cdmSelectArticles('none')\">None</a> <a href=\"javascript:cdmSelectArticles('none')\">None</a>
&nbsp;&nbsp; &nbsp;&nbsp;
Toggle: <a href=\"javascript:selectionToggleUnread(true)\">Unread</a>, Toggle: <a href=\"javascript:selectionToggleUnread(true)\">Unread</a>,
<a href=\"javascript:selectionToggleMarked(true)\">Starred</a>"; <a href=\"javascript:selectionToggleMarked(true)\">Starred</a>
&nbsp;&nbsp;
Mark as read:
<a href=\"#\" onclick=\"catchupPage()\">Page</a>,
<a href=\"#\" onclick=\"catchupCurrentFeed()\">Feed</a>";
print "</td>"; print "</td>";

View File

@ -327,7 +327,7 @@ function selectionToggleMarked(cdm_mode) {
function cdmGetSelectedArticles() { function cdmGetSelectedArticles() {
var sel_articles = new Array(); var sel_articles = new Array();
var container = document.getElementById("headlinesContainer"); var container = document.getElementById("headlinesInnerContainer");
for (i = 0; i < container.childNodes.length; i++) { for (i = 0; i < container.childNodes.length; i++) {
var child = container.childNodes[i]; var child = container.childNodes[i];
@ -343,7 +343,7 @@ function cdmGetSelectedArticles() {
// mode = all,none,unread // mode = all,none,unread
function cdmSelectArticles(mode) { function cdmSelectArticles(mode) {
var container = document.getElementById("headlinesContainer"); var container = document.getElementById("headlinesInnerContainer");
for (i = 0; i < container.childNodes.length; i++) { for (i = 0; i < container.childNodes.length; i++) {
var child = container.childNodes[i]; var child = container.childNodes[i];