diff options
author | Andrew Dolgov <[email protected]> | 2009-10-07 14:22:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-10-07 14:22:44 +0400 |
commit | 6e35a862dd7c2f292ab805cf5a0d5bf8770a6525 (patch) | |
tree | 6017125f1d3bdf5e2c0dbe2391df068a63040f42 /functions.php | |
parent | 449cba7c38acd2abefaf127c7ce40ebda8b07c13 (diff) |
fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/functions.php b/functions.php index effd20005..2c2a81c56 100644 --- a/functions.php +++ b/functions.php @@ -5119,11 +5119,11 @@ # truncate_string($line["feed_title"],30)."</a> </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>"; # } |