11.02.2019, 09:00
You can use this Custom JavaScript to close the window when 1/1/1 value changes:
Keep in mind that this code might run in case disconnect happens so a better solution is to use Link element with External link mode and External link set to /closekiosk
Code:
$(function(){
if (typeof grp === 'object') {
grp.listen('1/1/1', function(obj, state) {
if (state == 'value') {
window.location.href = '/closekiosk';
}
});
}
});
Keep in mind that this code might run in case disconnect happens so a better solution is to use Link element with External link mode and External link set to /closekiosk