]> git.wh0rd.org Git - tt-rss.git/commitdiff
use real link to article in headlines list (for middle click) (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 21 May 2008 07:50:58 +0000 (08:50 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 21 May 2008 07:50:58 +0000 (08:50 +0100)
functions.php
viewfeed.js

index 7c74fec350c1b9a6ab126778939885875eb1f931..6f93e6a24cd229f0e64ba89c15743db2543e5f8e 100644 (file)
 
                                        print "<a id=\"RTITLE-$id\" 
                                                href=\"" . htmlspecialchars($line["link"]) . "\"
-                                               onclick=\"view($id,$feed_id);\">" .
+                                               onclick=\"return view($id,$feed_id);\">" .
                                                $line["title"];
 
                                        if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
index 3336dda6889291e6dbd73ec409ef4d4720314425..9e7f22ec8b510e87affdc717e7f0d0dd5c4e9b5e 100644 (file)
@@ -463,6 +463,8 @@ function view(id, feed_id, skip_history) {
                                article_callback2(transport, id, feed_id); 
                        } });
 
+               return false;
+
        } catch (e) {
                exception_error("view", e);
        }