From d02f8c90660df7a316c26d7febd4c44b1ad751da Mon Sep 17 00:00:00 2001 From: KNKIM Date: Tue, 16 Nov 2021 17:37:30 +0900 Subject: [PATCH] =?UTF-8?q?gfn=5FremoveQuotes=20=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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/webapp/js/nlib.js b/src/main/webapp/js/nlib.js index 8c27ece5..0e2302c9 100644 --- a/src/main/webapp/js/nlib.js +++ b/src/main/webapp/js/nlib.js @@ -621,3 +621,9 @@ function gfn_reserveReadItem(masterId) { return; } + +function gfn_removeQuotes(str) { + if(fn_isEmpty(str)) return ""; + + return str.replace(/"/gi, '').replace(/'/gi, ""); +} \ No newline at end of file