mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines
This commit is contained in:
+11
-1
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user