fix "reload" button on autologin
authorChristian Weiske <cweiske@cweiske.de>
Mon, 6 Jul 2015 21:52:48 +0000 (23:52 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 6 Jul 2015 21:52:48 +0000 (23:52 +0200)
www/js/autologin.js

index ccd20f27aa9258aacb45306a996a91f6225bc7c2..96a524ca39a5a1fa9bf33255855f7e673320a3dc 100644 (file)
@@ -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();">reload</a> to see it.'
+            + '<a href="#" onclick="document.location.reload(); return false;">reload</a> to see it.'
             + '</div>'
         );
     $('#autologinnotifier').click(function(event) {