projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test avoid reuse page (with browsers button or tab duplication)
[brisk.git]
/
web
/
index.php
diff --git
a/web/index.php
b/web/index.php
index
10ff96c
..
9e3efe5
100644
(file)
--- a/
web/index.php
+++ b/
web/index.php
@@
-1254,7
+1254,15
@@
cookie_law(null);
// var nonunload = false;
var spo_slide, sup_slide;
// var nonunload = false;
var spo_slide, sup_slide;
+ var prevent_reuse = "";
window.onload = function() {
window.onload = function() {
+
+ if (prevent_reuse == "") {
+ prevent_reuse = "first load";
+ }
+ else {
+ location.reload();
+ }
g_brow = get_browser_agent();
g_prefs = new client_prefs(null);
g_brow = get_browser_agent();
g_prefs = new client_prefs(null);