1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-24 14:27:09 +00:00

fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines

This commit is contained in:
Andrew Dolgov
2009-10-07 14:22:44 +04:00
parent 449cba7c38
commit 6e35a862dd
5 changed files with 61 additions and 12 deletions

View File

@@ -5119,11 +5119,11 @@
# truncate_string($line["feed_title"],30)."</a>&nbsp;</td>";
# } else {
print "<td onclick='view($id,$feed_id)' class='hlContent$hlc_suffix' valign='middle'>";
print "<td onclick='view($id,$feed_id)' class='hlContent$hlc_suffix' valign='middle' id='HLC-$id'>";
print "<a id=\"RTITLE-$id\"
href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"return view($id,$feed_id);\">" .
onclick=\"return false\">" .
$line["title"];
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
@@ -5147,6 +5147,10 @@
</span>";
}
}
// print "<img id='HLL-$id' class='hlLoading'
// src='images/indicator_tiny.gif' style='display : none'>";
print "</td>";
# }