From 5d6ebdf1cc3b0058ead0d2642ce6d70dea35b522 Mon Sep 17 00:00:00 2001 From: KNKIM Date: Mon, 26 Jul 2021 10:42:52 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=9D=EC=97=85=20=EB=B9=84=EB=B0=80?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EC=9E=85=EB=A0=A5=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/nlib.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/main/webapp/js/nlib.js b/src/main/webapp/js/nlib.js index 8472fc90..ff090d21 100644 --- a/src/main/webapp/js/nlib.js +++ b/src/main/webapp/js/nlib.js @@ -5,3 +5,21 @@ * * */ + + +// 팝업으로 비밀번호를 입력받아서 콜백함수에 전달한다. +function fn_prompt_password(msg, callbackFucName) { + var thePrompt = window.open("", "_NLIB_POMPT_PASSWORD", "widht=100, height=100"); + var theHTML = ""; + + theHTML += "

" + msg + "

"; + theHTML += "
"; + theHTML += "비밀번호: "; + theHTML += "
"; + theHTML += ""; + theHTML += ""; + + thePrompt.document.body.innerHTML = theHTML; +} +