From c52cf6fef5f33ef2375ddeb6b184cbcb7ed6a0cd Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 22 Nov 2013 11:02:24 +0900 Subject: [PATCH] =?UTF-8?q?kcp=20=EA=B2=B0=EC=A0=9C=EC=9A=94=EC=B2=AD=20?= =?UTF-8?q?=ED=9B=84=20=EC=A3=BC=EB=AC=B8=ED=8F=BC=EC=9D=98=20=EA=B2=B0?= =?UTF-8?q?=EC=A0=9C=EB=B2=84=ED=8A=BC=20=EA=B0=80=EB=A0=A4=EC=A7=80?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/kcp/order_approval_form.php | 6 ------ mobile/shop/orderform.php | 9 ++++++++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/mobile/shop/kcp/order_approval_form.php b/mobile/shop/kcp/order_approval_form.php index da687279c..3d1ddfb54 100644 --- a/mobile/shop/kcp/order_approval_form.php +++ b/mobile/shop/kcp/order_approval_form.php @@ -202,12 +202,6 @@ of.param_opt_2.value = ""; of.param_opt_3.value = ""; - var od = window.opener.document; - od.getElementById("display_pay_button").style.display = "none"; - //od.getElementById("show_req_btn").style.display = "none"; - //od.getElementById("show_progress").style.display = "block"; - //od.getElementById("show_pay_btn").style.display = "inline"; - //alert("주문하기를 클릭하셔야 주문이 완료됩니다."); window.opener.forderform_check(); window.close(); diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 9976e6539..1c67d0413 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -1325,7 +1325,14 @@ function forderform_check() return false; } - f.submit(); + document.getElementById("display_pay_button").style.display = "none"; + //document.getElementById("show_req_btn").style.display = "none"; + //document.getElementById("show_progress").style.display = "block"; + //document.getElementById("show_pay_btn").style.display = "inline"; + + setTimeout(function() { + f.submit(); + }, 300); } // 주문폼 필드체크