Skip to content

Commit

Permalink
G5-87 쇼핑몰 : KCP 결제창 표시될 때 화면이 스크롤되지 않도록 수정 (HSCOMM님, 220503)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeoya committed May 3, 2022
1 parent 5a4ddbc commit 26857a8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions shop/kcp/orderform.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ function m_Completepayment( FormOrJson, closeEvent )
/********************************************************************/
GetField( frm, FormOrJson );

$("body").css({
"position": "",
"width": "",
"top" : ""
});

if( frm.res_cd.value == "0000" )
{
document.getElementById("display_pay_button").style.display = "none" ;
Expand All @@ -49,6 +55,11 @@ function jsf__pay( form )
try
{
KCP_Pay_Execute( form );
$("body").css({
"position": "fixed",
"width": "100%",
"top" : "0"
});
}
catch (e)
{
Expand Down

0 comments on commit 26857a8

Please sign in to comment.