From 5048ac79d2cc50da6dd20059be5d28449d413cf4 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 4 Jun 2018 10:55:34 +0900 Subject: [PATCH] =?UTF-8?q?=EC=AA=BD=EC=A7=80=20=EB=B3=B4=EA=B8=B0?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B7=B0=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=EA=B2=8C=EC=8B=9C=EB=AC=BC=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=EB=A5=BC=20opener=20=EB=A1=9C=20=EB=B3=B4=EB=82=B4?= =?UTF-8?q?=EA=B2=8C=EA=B8=88=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 12 ++++++++++++ lib/common.lib.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/js/common.js b/js/common.js index 6a1bd75a1..d69064d4f 100644 --- a/js/common.js +++ b/js/common.js @@ -343,6 +343,18 @@ var win_memo = function(href) { new_win.focus(); } +/** + * 쪽지 창 + **/ +var check_goto_new = function(href, event) { + if( !(typeof g5_is_mobile != "undefined" && g5_is_mobile) ){ + if (window.opener && window.opener.document && window.opener.document.getElementById) { + event.preventDefault ? event.preventDefault() : (event.returnValue = false); + window.opener.document.location.href = href; + } + } +} + /** * 메일 창 **/ diff --git a/lib/common.lib.php b/lib/common.lib.php index 045e75e37..23f07d00b 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1280,7 +1280,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $str2 .= "이름으로 검색\n"; } if($mb_id) - $str2 .= "전체게시물\n"; + $str2 .= "전체게시물\n"; if($is_admin == "super" && $mb_id) { $str2 .= "회원정보변경\n"; $str2 .= "포인트내역\n";