]> git.wh0rd.org Git - tt-rss.git/commitdiff
viewfeed() call in multifeed display
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Nov 2005 05:22:21 +0000 (06:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 16 Nov 2005 05:22:21 +0000 (06:22 +0100)
backend.php
viewfeed.js

index 3bae2a869ac59089cf9521df92298cd63da8e914..f571f8ba0d8b2dad277204eef84d925c526db069 100644 (file)
 
                        if ($line["feed_title"]) {                      
                                print "<td width='50%'>$content_link</td>";
-                               print "<td width='20%'>".$line["feed_title"]."</td>";
+                               print "<td width='20%'>
+                                       <a href='javascript:viewfeed($feed_id)'>".$line["feed_title"]."</a></td>";
                        } else {
                                print "<td width='70%'>$content_link</td>";
                        }
index 71ef9eff8aa6c904327833bbef85562add2a9a6e..73ef4c9739d845a61f0dfcbc8d6832f121a5189e 100644 (file)
@@ -170,6 +170,11 @@ function moveToPost(mode) {
        } 
 }
 
+function viewfeed(id) {
+       var f = parent.frames["feeds-frame"];
+       f.viewfeed(id, 0);
+}
+
 function localHotkeyHandler(keycode) {
 
        if (keycode == 78) {