From d051cacf7fb515204abf0f559a7430bb3ce785c9 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 1 Feb 2013 09:27:07 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B7=B0=20?= =?UTF-8?q?=EC=A0=9C=EC=96=B4=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=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 --- js/common.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/js/common.js b/js/common.js index 46a070e04..c176fe94a 100644 --- a/js/common.js +++ b/js/common.js @@ -569,13 +569,25 @@ $(function(){ }); // 사이드뷰 + var sv_hide = true; $('.sv').click(function() { $('.sv_wrap').hide(); - $(this).find('.sv_wrap').css("display", "block"); + $(this).find('.sv_wrap').show(); }); + $('.sv_wrap').hover( + function() { + sv_hide = false; + }, + function() { + sv_hide = true; + } + ); + $(document).click(function() { - // $('.sv_wrap').hide(); + if(sv_hide) { + $('.sv_wrap').hide(); + } }); }); \ No newline at end of file From 47befe958657ff7034e2683ac41560211429878e Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 1 Feb 2013 09:27:28 +0900 Subject: [PATCH 2/4] =?UTF-8?q?g4=5Fbbs=5Fpath=EB=A5=BC=20g4=5Fbbs=5Furl?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/board/neo/write.skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin/board/neo/write.skin.php b/skin/board/neo/write.skin.php index 2d06bcab9..a866215c6 100644 --- a/skin/board/neo/write.skin.php +++ b/skin/board/neo/write.skin.php @@ -198,7 +198,7 @@ function fwrite_submit(f) var subject = ""; var content = ""; $.ajax({ - url: g4_bbs_path+"/filter.ajax.php", + url: g4_bbs_url+"/filter.ajax.php", type: "POST", data: { "subject": f.wr_subject.value, From 9cdfc4fd67200b292c398d4200c0614b2391caa0 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 1 Feb 2013 09:39:37 +0900 Subject: [PATCH 3/4] =?UTF-8?q?g4=5Fbbs=5Fpath=EB=A5=BC=20g4=5Fbbs=5Furl?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/board/neo/view_comment.skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin/board/neo/view_comment.skin.php b/skin/board/neo/view_comment.skin.php index 5dae055c1..26f7f4d5b 100644 --- a/skin/board/neo/view_comment.skin.php +++ b/skin/board/neo/view_comment.skin.php @@ -144,7 +144,7 @@ var char_max = parseInt(); // 최대 var subject = ""; var content = ""; $.ajax({ - url: g4_bbs_path+"/filter.ajax.php", + url: g4_bbs_url+"/filter.ajax.php", type: "POST", data: { "subject": "", From f6962b587718e2f40f969f14a6fec19b354a1f73 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 1 Feb 2013 09:39:59 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=EC=BA=90=EB=A6=AD=ED=84=B0=EC=85=8B=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/filter.ajax.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/bbs/filter.ajax.php b/bbs/filter.ajax.php index 201ca1f78..8eefa8e82 100644 --- a/bbs/filter.ajax.php +++ b/bbs/filter.ajax.php @@ -1,18 +1,11 @@