From bcaa1ad81d1fe7a865d49b0145189acb7b768d86 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 23 Jun 2014 10:59:33 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=84=EB=A5=98=20=EC=84=A0=ED=83=9D=20?= =?UTF-8?q?=ED=9B=84=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EB=95=8C=20=EB=B6=84=EB=A5=98=20=EC=A7=80=EC=A0=95=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/common.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/js/common.js b/js/common.js index 00cfccb59..2d1b266e2 100644 --- a/js/common.js +++ b/js/common.js @@ -132,7 +132,20 @@ function no_comma(data) function del(href) { if(confirm("한번 삭제한 자료는 복구할 방법이 없습니다.\n\n정말 삭제하시겠습니까?")) { - document.location.href = encodeURI(href); + var iev = -1; + if (navigator.appName == 'Microsoft Internet Explorer') { + var ua = navigator.userAgent; + var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); + if (re.exec(ua) != null) + iev = parseFloat(RegExp.$1); + } + + // IE6 이하에서 한글깨짐 방지 + if (iev != -1 && iev < 7) { + document.location.href = encodeURI(href); + } else { + document.location.href = href; + } } }