From d4794118455c2b94dcd54fe4d81f793ace4029a2 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Wed, 30 Sep 2020 17:10:01 +0000 Subject: [PATCH] added disconnection dialog to inform user --- UI/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/index.html b/UI/index.html index 341e909..dc0d1b6 100644 --- a/UI/index.html +++ b/UI/index.html @@ -190,6 +190,9 @@ function startGameSession() { gameSession.onconnect = function () {}; gameSession.onclose = function (event) { console.log(event); + popupDialog("connection_error","Connection Error!!!",false,messageDialog,"The server connection was closed!",function () { + window.location.search = ""; //reload page + }); }; }