From acfe9e77bf6b3e0ff664ccd3e24490570c027b7f Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 25 Jul 2012 23:03:56 -0700 Subject: show spinning cursor to let you know a refresh is happening. --- js/main.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js') diff --git a/js/main.js b/js/main.js index bdc1c83e3..55c93cb62 100644 --- a/js/main.js +++ b/js/main.js @@ -340,11 +340,15 @@ function updateConvItems(mode,data) { update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0); } + if(page_load) + $("#profile-jot-text-loading").show(); + $.get(update_url,function(data) { var update_mode = ((page_load) ? 'replace' : 'update'); page_load = false; in_progress = false; updateConvItems(update_mode,data); + $("#profile-jot-text-loading").hide(); }); -- cgit v1.2.3