From 28dbc78cdc79d728598d4ef733ad8a06a247c532 Mon Sep 17 00:00:00 2001 From: projectSylas Date: Wed, 15 Sep 2021 02:12:47 +0000 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=ED=95=A9=EC=9D=B8=EC=A6=9D=20:=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9=EC=9D=B8=EC=A6=9D=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EA=B3=B5=ED=86=B5=20=EC=9E=90=EB=B0=94=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/certify.js | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/js/certify.js b/js/certify.js index 999a1f516..7401a7cd8 100644 --- a/js/certify.js +++ b/js/certify.js @@ -1,7 +1,5 @@ // 본인확인 인증창 호출 -function certify_win_open(type, url, event) -{ - +function certify_win_open(type, url, event) { if (typeof event == "undefined") { event = window.event; } @@ -94,10 +92,10 @@ function certify_win_open(type, url, event) } // 인증체크 -function cert_confirm() -{ +function cert_confirm() { + var type; - var val = document.fregisterform.cert_type.value + var val = document.fregisterform.cert_type.value; switch(val) { case "sa": @@ -119,18 +117,14 @@ function cert_confirm() return false; } -function call_sa(directAgencys, url) { - let window = popupCenter(); +function call_sa(url) { + let window = popup_center(); if(window != undefined && window != null) { - document.saForm.setAttribute("target", "sa_popup"); - document.saForm.setAttribute("method", "post"); - document.saForm.directAgency.value = directAgencys; - document.saForm.setAttribute("action", url); - document.saForm.submit(); + window.location.href = url; } -} +} -function popupCenter() { +function popup_center() { let _width = 400; let _height = 620; var xPos = (document.body.offsetWidth/2) - (_width/2); // 가운데 정렬