18.07.2022, 06:19
Hi
I use the following JavaScript to periodically refresh the LogicMachine user interface on our iPad Clients running in a Safari browser session - we were finding that they would loose connection to the LogicMachine Server over time (either due to network dropouts or users using another app on the iPad and returning the disconnected LogicMachine Safari browser session to the foreground)
The refresh works really well however is there a way to capture the current visualisation id and to modify the reload part of the JS to reload the browser window back to that page / plan? The current refresh always takes one back to the starting page.
Many thanks
James
I use the following JavaScript to periodically refresh the LogicMachine user interface on our iPad Clients running in a Safari browser session - we were finding that they would loose connection to the LogicMachine Server over time (either due to network dropouts or users using another app on the iPad and returning the disconnected LogicMachine Safari browser session to the foreground)
The refresh works really well however is there a way to capture the current visualisation id and to modify the reload part of the JS to reload the browser window back to that page / plan? The current refresh always takes one back to the starting page.
Code:
$(document).ready(function(){
setInterval(function(){ window.location.reload(true); },60*60000);
});
Many thanks
James