From c1171038a0d8b41c9e10fcdd66c25532890df7fb Mon Sep 17 00:00:00 2001 From: Robert Zorko Date: Tue, 13 Oct 2015 15:28:06 +0200 Subject: slight changes to the logout functionality, so it won't request a reset anymore --- web/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/main.js b/web/main.js index e8c0c3c..c07e12e 100644 --- a/web/main.js +++ b/web/main.js @@ -106,7 +106,8 @@ var guiHandlers = { // logout, the user quit the app logger.debug('Logout GUI'); sendDataToPython(message).finally(function () { - session.end({'type': 'reset', 'code': 9999, 'message': 'Bye.'}); + //session.end({'type': 'reset', 'code': 9999, 'message': 'Bye.'}); + session.end({'code': 0, 'message': 'Bye.', 'tid': message.tid, 'sid':message.sid}); }).done(); }, -- cgit v1.2.1