From 7444ac2fdf850b21e2179ed47498ab37640ae310 Mon Sep 17 00:00:00 2001 From: leebj Date: Mon, 30 Dec 2024 13:44:40 +0900 Subject: [PATCH] no message --- src/main/webapp/WEB-INF/jsp/index.jsp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index a7b39790..004884b4 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -107,7 +107,22 @@ }); $("#btnMessageAccountValidation").on("click", function(){ - window.open("/resources/html/smsAccountValidation.html","sms 계정 신청 검증"); + + fetch(wctx.url("/resources/html/smsAccountValidation.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + let dialogName = "smsAccountValidationDialog"; + let dialogId = dialogName + "-" + uuid(); + dialog.open({ + id: dialogId + , title: "sms 계정 신청 검증" + , size: "lg" + , content: template + , init: () => { + $("#"+dialogId).attr("name", dialogName); + } + }); + }); }); $("#btnMakeConfForMessage").on("click", function(){