fix : 1:1문의 사용자 조회/수정
This commit is contained in:
@@ -50,10 +50,13 @@
|
||||
fn_set_niceSelect_datePicker("#qna-update-pop");
|
||||
|
||||
/*4.휴대전화 포매팅*/
|
||||
<c:if test="${bbsInfo.answRegist eq 'Y'&& bbsInfo.bbscttSndngMthCd ne '03'}"><%--답변사용여부와 게시글 문자사용여부 체크--%>
|
||||
console.log($("#answMbtlnb").val());
|
||||
if ($("#answMbtlnb").val().length > 0) {
|
||||
$("#answMbtlnb").val(fn_format_mbtlnb($("#answMbtlnb").val()));
|
||||
fn_set_event("#answMbtlnb", "keyup", fn_fmt_telno);
|
||||
}
|
||||
</c:if>
|
||||
|
||||
//6.hidden value set
|
||||
fn_update_hidden_value();
|
||||
|
||||
@@ -874,8 +874,7 @@
|
||||
|
||||
// 파일이 삭제될 때마다 호출되는 이벤트 핸들러
|
||||
this.on("removedfile", function (file) {
|
||||
const customId = file.customId;
|
||||
const result = dropzoneDeleteFiles(customId, '<c:out value="${bbscttVO.sopmalCd}"/>', "BDFL", 1);
|
||||
const result = dropzoneDeleteFiles("" + file.customId + "", '<c:out value="${bbscttVO.sopmalCd}"/>', "BDFL", 1);
|
||||
if (result === "N") {//파일 삭제 안할 시 복원
|
||||
file.customData = {restored: true, customId: file.customId}; //삭제 취소에 의한 구분자 부여
|
||||
myDropzone.emit("addedfile", file); // 파일을 다시 추가하여 삭제 취소
|
||||
|
||||
@@ -865,8 +865,7 @@
|
||||
|
||||
// 파일이 삭제될 때마다 호출되는 이벤트 핸들러
|
||||
this.on("removedfile", function (file) {
|
||||
const customId = file.customId;
|
||||
const result = dropzoneDeleteFiles(customId, '<c:out value="${bbscttVO.sopmalCd}"/>', "BDFL", 1);
|
||||
const result = dropzoneDeleteFiles("" + file.customId + "", '<c:out value="${bbscttVO.sopmalCd}"/>', "BDFL", 1);
|
||||
if (result === "N") {//파일 삭제 안할 시 복원
|
||||
file.customData = {restored: true, customId: file.customId}; //삭제 취소에 의한 구분자 부여
|
||||
myDropzone.emit("addedfile", file); // 파일을 다시 추가하여 삭제 취소
|
||||
|
||||
Reference in New Issue
Block a user