git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd81a7
)
do not use javascript for location reload
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 8 Jul 2015 16:11:18 +0000
(18:11 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 8 Jul 2015 16:11:18 +0000
(18:11 +0200)
www/js/autologin.js
patch
|
blob
|
history
diff --git
a/www/js/autologin.js
b/www/js/autologin.js
index 96a524ca39a5a1fa9bf33255855f7e673320a3dc..cacf8dcc25095fb29f04672a822829f705d251d4 100644
(file)
--- a/
www/js/autologin.js
+++ b/
www/js/autologin.js
@@
-29,7
+29,7
@@
function notifyAutologin(data)
+ ' style="display: none; position: fixed; top: 0px; left: 0px; width: 100%; text-align: center">'
+ 'Welcome, ' + data.name + '.'
+ ' You have been logged in - '
- + '<a href="
#" onclick="document.location.reload(); return false;
">reload</a> to see it.'
+ + '<a href="
' + document.location + '
">reload</a> to see it.'
+ '</div>'
);
$('#autologinnotifier').click(function(event) {