From 2d1c3f44c56fbaab408ceae81133ac7cb320d6cf Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 22 Nov 2024 14:11:38 +0900 Subject: [PATCH] session timeout => wctx.home() --- src/main/webapp/resources/js/base/base.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js index 602e334..fa42feb 100644 --- a/src/main/webapp/resources/js/base/base.js +++ b/src/main/webapp/resources/js/base/base.js @@ -244,7 +244,11 @@ var ajax = { dialog.alert({ title:resp.title, - content:[resp.description, resp.message].join("
") + content:[resp.description, resp.message].join("
"), + onClose: () => { + if (resp.promptLogin) + wctx.home(); + } }); debug("stacktrace", stacktrace);