summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGregor Tätzner <gregor@freenet.de>2012-07-30 21:09:30 +0200
committerGregor Tätzner <gregor@freenet.de>2012-07-30 21:09:30 +0200
commit01f8c6cf08eba694d230c8abced80bea53218c6d (patch)
tree9cf5a2fcff0a9a06de3a1123370979f5372c1d03 /templates
parent25051024bc3609ead82bddee50ddf129f6aa535f (diff)
Implement live update of unread item counter
Diffstat (limited to 'templates')
-rw-r--r--templates/part.items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 24ca958e9..c1619085e 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -15,7 +15,7 @@ foreach($items as $item) {
echo ' class="title_read">';
}
else {
- echo ' class="title_unread" onClick="News.Feed.markItem(' . $item->getId() . ')">';
+ echo ' class="title_unread" onClick="News.Feed.markItem(' . $item->getId() . ',' . $feedid . ')">';
}
echo $title . '</div><div class="body">' . $item->getBody() . '</div>';
echo '</li>';