From 9725dcf41dce7b03828a29b7f6def11ef120a88f Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 19 Jan 2013 00:43:05 -0800 Subject: distributed directory search from the navbar --- library/jquery_ac/friendica.complete.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library') diff --git a/library/jquery_ac/friendica.complete.js b/library/jquery_ac/friendica.complete.js index 4599c7bc1..c8a28c0a7 100644 --- a/library/jquery_ac/friendica.complete.js +++ b/library/jquery_ac/friendica.complete.js @@ -242,6 +242,7 @@ } else if (!this.isBadQuery(q)) { me = this; me.options.params.query = q; + $('#nav-search-spinner').show(); $.get(this.serviceUrl, me.options.params, function(txt) { me.processResponse(txt); }, 'text'); } }, @@ -304,6 +305,7 @@ this.data = response.data; this.suggest(); } + $('#nav-search-spinner').hide(); }, activate: function(index) { -- cgit v1.2.3