convert update script arg passing to js - remembering the browser prefetch issues

This commit is contained in:
Friendika 2011-02-17 00:40:35 -08:00
parent 3cc63f2e6f
commit f7b2f9f5e7
3 changed files with 20 additions and 31 deletions

View file

@ -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');