aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-24 22:06:21 -0700
committerfriendica <info@friendica.com>2012-07-24 22:06:21 -0700
commit6911beca2f1d88a9e26c1dc110b2547a1b075951 (patch)
tree094aa281b0d896c8d2f0a039b16cbbb80d3c0b68 /js/main.js
parentf535554cfa3a2de345f4028b109f4e941fc3a91b (diff)
downloadvolse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.tar.gz
volse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.tar.bz2
volse-hubzilla-6911beca2f1d88a9e26c1dc110b2547a1b075951.zip
ajax page loads
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) {