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