aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 29af7eb59..d86107c5b 100644
--- a/js/main.js
+++ b/js/main.js
@@ -33,6 +33,8 @@
var last_popup_menu = null;
var last_popup_button = null;
+ var page_load = true;
+
$(function() {
$.ajaxSetup({cache: false});
@@ -314,7 +316,10 @@ function updateConvItems(mode,data) {
prev = 'live-' + src;
in_progress = true;
- var udargs = ((netargs.length) ? '/' + netargs : '');
+
+ var udargs = ((page_load) ? '/load' : '');
+ page_load = false;
+
var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
$.get(update_url,function(data) {