From f4280bdd13e1a1ad54f6ddfafaccdc0e43aa756e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 9 Oct 2009 14:30:21 +0400 Subject: [PATCH] feed browser: add local spinner --- functions.js | 6 +++++- modules/pref-feeds.php | 2 ++ offline.js | 2 +- tt-rss.css | 7 +++++++ 4 files changed, 15 insertions(+), 2 deletions(-) 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 "
+