From e2754511d92d62fc0222a9dd6bc2578d86e09d7f Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 18 Aug 2019 00:46:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EB=8C=80=ED=83=88=ED=87=B4=20?= =?UTF-8?q?=EC=8B=9C=20propergation=20=EC=B2=98=EB=A6=AC=20=EC=8B=A4?= =?UTF-8?q?=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/b_troop.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hwe/b_troop.php b/hwe/b_troop.php index dfa673c1..9a823843 100644 --- a/hwe/b_troop.php +++ b/hwe/b_troop.php @@ -87,8 +87,14 @@ jQuery(function($){ $('#form1').submit(function(){ return false; }); - -$('.submitBtn').click(function(){ +$('#leaveTroop').click(function(e){ + return confirm("정말 부대를 탈퇴하시겠습니까?"); +}) +$('.submitBtn').click(function(event){ + if(event.isPropagationStopped()){ + return false; + } + console.log('b'); var $this=$(this); $.post({ @@ -140,7 +146,7 @@ $('.submitBtn').click(function(){ - +