Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
바로구매 등의 처리 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Aug 10, 2016
1 parent 6ac83b7 commit 4e66915
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mobile/skin/shop/basic/item.form.skin.php
Expand Up @@ -500,6 +500,9 @@ function fsubmit_check(f)
// 바로구매, 장바구니 폼 전송
function fitem_submit(f)
{
f.action = "<?php echo $action_url; ?>";
f.target = "";

if (document.pressed == "CART") {
f.sw_direct.value = 0;
} else { // 바로구매
Expand Down
3 changes: 3 additions & 0 deletions skin/shop/basic/item.form.skin.php
Expand Up @@ -445,6 +445,9 @@ function fsubmit_check(f)
// 바로구매, 장바구니 폼 전송
function fitem_submit(f)
{
f.action = "<?php echo $action_url; ?>";
f.target = "";

if (document.pressed == "장바구니") {
f.sw_direct.value = 0;
} else { // 바로구매
Expand Down
3 changes: 3 additions & 0 deletions theme/basic/mobile/skin/shop/basic/item.form.skin.php
Expand Up @@ -500,6 +500,9 @@ function fsubmit_check(f)
// 바로구매, 장바구니 폼 전송
function fitem_submit(f)
{
f.action = "<?php echo $action_url; ?>";
f.target = "";

if (document.pressed == "CART") {
f.sw_direct.value = 0;
} else { // 바로구매
Expand Down
3 changes: 3 additions & 0 deletions theme/basic/skin/shop/basic/item.form.skin.php
Expand Up @@ -444,6 +444,9 @@ function fsubmit_check(f)
// 바로구매, 장바구니 폼 전송
function fitem_submit(f)
{
f.action = "<?php echo $action_url; ?>";
f.target = "";

if (document.pressed == "장바구니") {
f.sw_direct.value = 0;
} else { // 바로구매
Expand Down

0 comments on commit 4e66915

Please sign in to comment.