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(){