This commit is contained in:
kdh0120 2020-12-09 07:57:36 +00:00
parent e94dc9b4ac
commit c9fc093fdf
5 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
if (ul.attr("data-isimage") == "1" && "png,jpg,gif".indexOf(fext) < 0) {
$(f).val("");
msg("이미지파일만 첨부할 수 있습니다.");
} else if (",xlsx,xls,hwp,pdf,zip,jpg,gif,png,txt,pptx,ppt,doc,docx,psd,mp4,mp3.wmv".indexOf("," + fext + ",") < 0) {
} else if (",xlsx,xls,hwp,pdf,zip,jpg,gif,png,txt,pptx,ppt,doc,docx,psd,mp4,mp3,wmv,".indexOf("," + fext + ",") < 0) {
$(f).val("");
msg("허용된 파일유형이 아닙니다.(" + fext + ")");
}