Index: lams_tool_doku/web/pages/learning/learning.jsp
===================================================================
diff -u -rb5c36d2f8fb70869f2402ed3457a9513e2db871c -re606aaebe2ef85c40a4054ef76abf62c94d224a4
--- lams_tool_doku/web/pages/learning/learning.jsp (.../learning.jsp) (revision b5c36d2f8fb70869f2402ed3457a9513e2db871c)
+++ lams_tool_doku/web/pages/learning/learning.jsp (.../learning.jsp) (revision e606aaebe2ef85c40a4054ef76abf62c94d224a4)
@@ -106,11 +106,7 @@
document.location.href='';
}
- function startGalleryWalk(){
- document.location.href='';
- }
-
-
+
//init the connection with server using server URL but with different protocol
var dokuWebsocketInitTime = Date.now(),
dokuWebsocket = new WebSocket(''.replace('http', 'ws')
@@ -152,6 +148,12 @@
// create JSON object
var input = JSON.parse(e.data);
+ // force page refresh, for example to go to Gallery Walk
+ if (input.pageRefresh) {
+ location.reload();
+ return;
+ }
+
//monitor has added one minute to the total timeLimit time
if (input.addTime) {
//reload page in order to allow editing the pad again
@@ -272,15 +274,9 @@
-
+