aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-16 21:17:49 -0800
committerFriendika <info@friendika.com>2011-02-16 21:17:49 -0800
commit4bff52990e5f340cf879abf7c1cdaea7ee928d74 (patch)
tree6b97ae3fe0430f3c94565692cc97da81f0065de8 /include
parentc397a2f89bf3c2c609852f5bfc618c1d0cb0b709 (diff)
downloadvolse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.tar.gz
volse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.tar.bz2
volse-hubzilla-4bff52990e5f340cf879abf7c1cdaea7ee928d74.zip
ajax reload fixes
Diffstat (limited to 'include')
-rw-r--r--include/main.js4
1 files changed, 4 insertions, 0 deletions
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"
);