Create orderpay.step2.pgkcp.php
This commit is contained in:
parent
c6c79ff0b8
commit
8d52cc8468
20
view/public/js/route/orderpay.step2.pgkcp.php
Normal file
20
view/public/js/route/orderpay.step2.pgkcp.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
function goResult() {
|
||||
document.pay_info.submit()
|
||||
}
|
||||
|
||||
// 결제 중 새로고침 방지 샘플 스크립트 (중복결제 방지)
|
||||
function noRefresh() {
|
||||
/* CTRL + N키 막음. */
|
||||
if ((event.keyCode == 78) && (event.ctrlKey == true)) {
|
||||
event.keyCode = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
/* F5 번키 막음. */
|
||||
if(event.keyCode == 116) {
|
||||
event.keyCode = 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
document.onkeydown = noRefresh;
|
Loading…
Reference in New Issue
Block a user