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 /feedlist.js | |
parent | 449cba7c38acd2abefaf127c7ce40ebda8b07c13 (diff) |
fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js index 05109ad23..37c80001a 100644 --- a/feedlist.js +++ b/feedlist.js @@ -315,7 +315,17 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { } else { if (!page_offset) { - notify_progress("Loading, please wait...", true); + var feedr = $('FEEDR-' + feed); + + if (feedr) { + var ll = document.createElement('img'); + + ll.src = 'images/indicator_tiny.gif'; + ll.className = 'hlLoading'; + ll.id = 'FLL-' + feed; + + feedr.appendChild(ll); + } } new Ajax.Request(query, { |