summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-10-07 23:22:33 +0400
committerAndrew Dolgov <[email protected]>2009-10-07 23:22:33 +0400
commitb103912495dd676b7cb1cd07b3099c4fefc297d1 (patch)
tree2b8b2f5ced33bfed5e551a5711ae977611fefb89 /viewfeed.js
parent105b61b771bbe80fb01ca64c070d0e83ae346858 (diff)
view: display round loading indicator in FUPDPIC container
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js18
1 files changed, 15 insertions, 3 deletions
diff --git a/viewfeed.js b/viewfeed.js
index fb9470950..820a91f81 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -377,11 +377,17 @@ function article_callback2(transport, id, feed_id) {
if (!transport_error_check(transport)) return;
- var ll = $('LL-' + id);
+/* var ll = $('LL-' + id);
var content = $('HLC-' + id);
- if (ll && content) content.removeChild(ll);
+ if (ll && content) content.removeChild(ll); */
+ var upic = $('FUPDPIC-' + id);
+
+ if (upic) {
+ upic.src = 'images/blank_icon.gif';
+ }
+
if (id != last_requested_article) {
debug("requested article id is out of sequence, aborting");
return;
@@ -513,7 +519,7 @@ function view(id, feed_id, skip_history) {
// notify_progress("Loading, please wait...", true);
- var content = $('HLC-' + id);
+/* var content = $('HLC-' + id);
if (content && !$('LL-' + id)) {
var ll = document.createElement('img');
@@ -524,6 +530,12 @@ function view(id, feed_id, skip_history) {
content.appendChild(ll);
+ } */
+
+ var upic = $('FUPDPIC-' + id);
+
+ if (upic) {
+ upic.src = 'images/indicator_white.gif';
}
} else if (cached_article && article_is_unread) {