From 18d6e220434e600834358865b1d0ac2a751f8a35 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 2 May 2019 10:49:42 +0200 Subject: [PATCH] Reload the page with Esc on timeout error --- www/common/sframe-common.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/common/sframe-common.js b/www/common/sframe-common.js index c321af294..8a59e3d41 100644 --- a/www/common/sframe-common.js +++ b/www/common/sframe-common.js @@ -614,7 +614,9 @@ define([ }); ctx.sframeChan.on('EV_WORKER_TIMEOUT', function () { - UI.errorLoadingScreen(Messages.timeoutError); + UI.errorLoadingScreen(Messages.timeoutError, false, function () { + funcs.gotoURL(''); + }); }); ctx.sframeChan.on('EV_CHROME_68', function () {