display proper loading indicator for categories

This commit is contained in:
Andrew Dolgov 2010-01-14 23:23:25 +03:00
parent 883fee8df0
commit ba5698285b
2 changed files with 4 additions and 1 deletions

View File

@ -339,7 +339,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
if (!$('FLL-' + feed)) { if (!$('FLL-' + feed)) {
var ll = document.createElement('img'); var ll = document.createElement('img');
ll.src = getInitParam("sign_progress"); ll.src = getInitParam("sign_progress_tiny");
ll.className = 'hlLoading'; ll.className = 'hlLoading';
ll.id = 'FLL-' + feed; ll.id = 'FLL-' + feed;

View File

@ -3140,6 +3140,9 @@
print "<param key=\"sign_progress\" value=\"". print "<param key=\"sign_progress\" value=\"".
theme_image($link, "images/indicator_white.gif")."\"/>"; theme_image($link, "images/indicator_white.gif")."\"/>";
print "<param key=\"sign_progress_tiny\" value=\"".
theme_image($link, "images/indicator_tiny.gif")."\"/>";
print "<param key=\"sign_excl\" value=\"". print "<param key=\"sign_excl\" value=\"".
theme_image($link, "images/sign_excl.png")."\"/>"; theme_image($link, "images/sign_excl.png")."\"/>";