내정보 > 개인정보 변경 수정
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
</hgroup>
|
||||
|
||||
<section class="form-group">
|
||||
<form method="post" name="reqForm" id="reqForm" onsubmit="event.preventDefault(); formControl.authInfoUser(event);" th:action="@{/}">
|
||||
<form method="post" name="reqForm" id="reqForm" onsubmit="formControl.authInfoUser(event); return false;">
|
||||
<input type="hidden" name="_csrf" th:value="${_csrf.token}" th:if="${_csrf != null}" />
|
||||
<div class="component-input" data-props-toggle-Password="true">
|
||||
<div class="input-label">
|
||||
<label for="password" class="label-txt">비밀번호</label>
|
||||
@@ -56,11 +57,12 @@
|
||||
|
||||
let formControl = {
|
||||
authInfoUser(event) {
|
||||
event.preventDefault();
|
||||
if (event && typeof event.preventDefault === 'function') {
|
||||
event.preventDefault();
|
||||
}
|
||||
const f = document.reqForm;
|
||||
|
||||
const obj = $(f).serializeObject();
|
||||
console.log(obj)
|
||||
|
||||
ajaxUtil._ajaxAsync(
|
||||
ENV.httpUrl.auth,
|
||||
obj,
|
||||
|
||||
Reference in New Issue
Block a user