From f7b2f9f5e7556e241d096ad31d9140619895f529 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 17 Feb 2011 00:40:35 -0800 Subject: convert update script arg passing to js - remembering the browser prefetch issues --- include/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/main.js b/include/main.js index df7de2e76..9e657f335 100644 --- a/include/main.js +++ b/include/main.js @@ -108,7 +108,10 @@ prev = 'live-' + src; in_progress = true; - $.get('update_' + src + '?p=' + profile_uid + '&msie=' + ((msie) ? 1 : 0),function(data) { + var udargs = '/' + netargs; + var update_url = 'update_' + src + udargs + '?p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0); + + $.get(update_url,function(data) { in_progress = false; $('.wall-item-outside-wrapper',data).each(function() { var ident = $(this).attr('id'); -- cgit v1.2.3