aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'include/main.js')
-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"
);