From 4bff52990e5f340cf879abf7c1cdaea7ee928d74 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 16 Feb 2011 21:17:49 -0800 Subject: ajax reload fixes --- include/main.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/main.js') diff --git a/include/main.js b/include/main.js index abd097e54..df7de2e76 100644 --- a/include/main.js +++ b/include/main.js @@ -225,6 +225,10 @@ if(timer) clearTimeout(timer); timer = setTimeout(NavUpdate,10); } + if(data.reload) { + window.location.href=data.reload; + } + }, "json" ); -- cgit v1.2.3