From: Andrew Dolgov Date: Fri, 9 Oct 2009 10:30:21 +0000 (+0400) Subject: feed browser: add local spinner X-Git-Tag: 1.3.4~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f4280bdd13e1a1ad54f6ddfafaccdc0e43aa756e;p=tt-rss.git feed browser: add local spinner --- diff --git a/functions.js b/functions.js index 6ab23b0f..22490fd1 100644 --- a/functions.js +++ b/functions.js @@ -2052,12 +2052,16 @@ function updateFeedBrowser() { query = query + "&search=" + param_escape(search.value); } - notify_progress("Loading, please wait...", true); + //notify_progress("Loading, please wait...", true); + + Element.show('feed_browser_spinner'); new Ajax.Request(query, { onComplete: function(transport) { notify(''); + Element.hide('feed_browser_spinner'); + var c = $("browseFeedList"); var r = transport.responseXML.getElementsByTagName("content")[0]; var nr = transport.responseXML.getElementsByTagName("num-results")[0]; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 6b510bc9..17379a2b 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -70,6 +70,8 @@ print "
+