Stuck in "Sorry to bother you" in Kiosk mode
danelec-hpm opened this issue · 1 comments
danelec-hpm commented
We have a big screen in the office to monitor builds and us this great plugin for that. However the screen runs in kiosk mode, so no interaction is needed. When updating Jenkins or on reboot (cookies timed out) the page will show the Sorry to bother you message, and be stuck at that message, so I need to automatically reload the page when this happens.
I found that adding this javascript the the service.js file:
setTimeout(function() {
$window.location.reload();
}, 10000);
after the:
$dialog.messageBox(...);
line solves the issue and automatically reloads the page and everything is fine again.
danelec-hpm commented
I've added a pull request, to make it easy for you if you agree.