diff options
author | friendica <info@friendica.com> | 2012-07-25 23:03:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-25 23:03:56 -0700 |
commit | acfe9e77bf6b3e0ff664ccd3e24490570c027b7f (patch) | |
tree | 67752e0dd9af862105f927586c6a1ae4357b0998 /js/main.js | |
parent | 7bdbb8331c8341e6c3ea0b463f0a742d06972245 (diff) | |
download | volse-hubzilla-acfe9e77bf6b3e0ff664ccd3e24490570c027b7f.tar.gz volse-hubzilla-acfe9e77bf6b3e0ff664ccd3e24490570c027b7f.tar.bz2 volse-hubzilla-acfe9e77bf6b3e0ff664ccd3e24490570c027b7f.zip |
show spinning cursor to let you know a refresh is happening.
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
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(); }); |