feedlist: tweak the loading progressbar display

This commit is contained in:
Andrew Dolgov 2009-10-07 23:16:21 +04:00
parent 925832c635
commit 105b61b771
2 changed files with 25 additions and 5 deletions

View File

@ -324,6 +324,16 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
}
if (feedr && !$('FLL-' + feed)) {
var img = $('FIMG-' + feed);
if (!is_cat && img) {
img.alt = img.src;
img.src = 'images/indicator_white.gif';
} else {
var ll = document.createElement('img');
ll.src = 'images/indicator_tiny.gif';
@ -331,6 +341,9 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
ll.id = 'FLL-' + feed;
feedr.appendChild(ll);
}
}
}

View File

@ -125,6 +125,13 @@ function headlines_callback2(transport, feed_cur_page) {
}
var img = $('FIMG-' + feed_id);
if (img && !is_cat) {
img.src = img.alt;
img.alt = '';
}
var f = $("headlines-frame");
try {
if (feed_cur_page == 0) {