From 7c8a21ecc0560c7f995c3156a0c5072fa71f29fa Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 17 Oct 2022 10:57:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=B4=EC=B9=B4=EC=98=A4=20=EC=9A=B0?= =?UTF-8?q?=ED=8E=B8=EB=B2=88=ED=98=B8=20=EC=84=9C=EB=B9=84=EC=8A=A4=20url?= =?UTF-8?q?=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EC=86=8D=EC=84=B1=EC=97=90?= =?UTF-8?q?=20async=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.php | 8 ++------ extend/version.extend.php | 2 +- js/common.js | 6 +++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/config.php b/config.php index f9185f64d..6c2267f9b 100644 --- a/config.php +++ b/config.php @@ -233,9 +233,5 @@ define('G5_VISIT_BROWSCAP_USE', false); */ define('G5_IP_DISPLAY', '\\1.♡.\\3.\\4'); -if ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') || - (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO']==='https')) { //https 통신일때 daum 주소 js - define('G5_POSTCODE_JS', ''); -} else { //http 통신일때 daum 주소 js - define('G5_POSTCODE_JS', ''); -} +// KAKAO 우편번호 서비스 CDN +define('G5_POSTCODE_JS', ''); diff --git a/extend/version.extend.php b/extend/version.extend.php index 682640d54..0719bf00e 100644 --- a/extend/version.extend.php +++ b/extend/version.extend.php @@ -5,4 +5,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // 예) https://도메인/css/default.css?ver=220620 // 예) https://도메인/js/common.js?ver=220620 define('G5_CSS_VER', '220620'); -define('G5_JS_VER', '220620'); +define('G5_JS_VER', '221017'); diff --git a/js/common.js b/js/common.js index d7ecc7ee9..4c7ff7957 100644 --- a/js/common.js +++ b/js/common.js @@ -355,8 +355,8 @@ var win_homepage = function(href) { * 우편번호 창 **/ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_jibeon) { - if(typeof daum === 'undefined'){ - alert("다음 우편번호 postcode.v2.js 파일이 로드되지 않았습니다."); + if(typeof daum === "undefined"){ + alert("KAKAO 우편번호 서비스 postcode.v2.js 파일이 로드되지 않았습니다."); return false; } @@ -423,7 +423,7 @@ var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_j element_wrap = document.createElement("div"); element_wrap.setAttribute("id", daum_pape_id); element_wrap.style.cssText = 'display:none;border:1px solid;left:0;width:100%;height:300px;margin:5px 0;position:relative;-webkit-overflow-scrolling:touch;'; - element_wrap.innerHTML = '접기 버튼'; + element_wrap.innerHTML = '접기 버튼'; jQuery('form[name="'+frm_name+'"]').find('input[name="'+frm_addr1+'"]').before(element_wrap); jQuery("#"+daum_pape_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){ e.preventDefault();