diff options
-rw-r--r-- | js/main.js | 4 | ||||
-rw-r--r-- | view/main_slider.tpl | 1 |
2 files changed, 5 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(); }); diff --git a/view/main_slider.tpl b/view/main_slider.tpl index 6f2b5f4a3..0bcf1384f 100644 --- a/view/main_slider.tpl +++ b/view/main_slider.tpl @@ -11,6 +11,7 @@ function networkRefresh() { if((document.readyState !== "complete") || (slideTimer !== null)) return; + setTimeout(function() { $("#profile-jot-text-loading").show(); }, 1000 ); slideTimer = setTimeout(networkTimerRefresh,2000); } |