법인회원 전환 확인 로직 수정
This commit is contained in:
@@ -166,12 +166,14 @@
|
|||||||
businessTransferBtn.addEventListener('click', () => {
|
businessTransferBtn.addEventListener('click', () => {
|
||||||
customPopups.showConfirm(
|
customPopups.showConfirm(
|
||||||
'법인 회원으로 전환하시겠습니까?',
|
'법인 회원으로 전환하시겠습니까?',
|
||||||
() => {
|
(confirmed) => {
|
||||||
const transferForm = document.createElement('form');
|
if (confirmed) {
|
||||||
transferForm.method = 'GET';
|
const transferForm = document.createElement('form');
|
||||||
transferForm.action = '/mypage/org-transfer';
|
transferForm.method = 'GET';
|
||||||
document.body.appendChild(transferForm);
|
transferForm.action = '/mypage/org-transfer';
|
||||||
transferForm.submit();
|
document.body.appendChild(transferForm);
|
||||||
|
transferForm.submit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user