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); } // 주문폼 필드체크