build-monitor-plugin icon indicating copy to clipboard operation
build-monitor-plugin copied to clipboard

Stuck in "Sorry to bother you" in Kiosk mode

Open danelec-hpm opened this issue 2 years ago • 1 comments

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 avatar May 03 '22 06:05 danelec-hpm

I've added a pull request, to make it easy for you if you agree.

danelec-hpm avatar May 03 '22 08:05 danelec-hpm