use real link to article in headlines list (for middle click) (2)

This commit is contained in:
Andrew Dolgov 2008-05-21 08:50:58 +01:00
parent f0971fc1d0
commit a7764e5105
2 changed files with 3 additions and 1 deletions

View File

@ -4986,7 +4986,7 @@
print "<a id=\"RTITLE-$id\" print "<a id=\"RTITLE-$id\"
href=\"" . htmlspecialchars($line["link"]) . "\" href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"view($id,$feed_id);\">" . onclick=\"return view($id,$feed_id);\">" .
$line["title"]; $line["title"];
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) { if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {

View File

@ -463,6 +463,8 @@ function view(id, feed_id, skip_history) {
article_callback2(transport, id, feed_id); article_callback2(transport, id, feed_id);
} }); } });
return false;
} catch (e) { } catch (e) {
exception_error("view", e); exception_error("view", e);
} }