모바일 첨부파일 다운로드 기능 보완

This commit is contained in:
KNKIM 2021-11-26 18:07:54 +09:00
parent 9c22391435
commit a1ed07f4f4
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ function fn_downloadFile(attachFileId, fileSn) {
<c:forEach var="attachFile" items="${article.attachFiles }"> <c:forEach var="attachFile" items="${article.attachFiles }">
<div class="file-list"> <div class="file-list">
<span><img src="/images/icon/icon-file.png" alt="파일 아이콘"></span> <span><img src="/images/icon/icon-file.png" alt="파일 아이콘"></span>
<span><button type="button">${attachFile.orignlFileNm}, ${attachFile.fileSize} byte(s)</button></span> <span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">${attachFile.orignlFileNm}, ${attachFile.fileSize} byte(s)</button></span>
<span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">다운로드</button></span> <span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">다운로드</button></span>
</div> </div>
</c:forEach> </c:forEach>

View File

@ -129,7 +129,7 @@ function fn_downloadFile(attachFileId, fileSn) {
<c:forEach var="attachFile" items="${article.attachFiles }"> <c:forEach var="attachFile" items="${article.attachFiles }">
<div class="file-list"> <div class="file-list">
<span><img src="/images/icon/icon-file.png" alt="파일 아이콘"></span> <span><img src="/images/icon/icon-file.png" alt="파일 아이콘"></span>
<span>${attachFile.orignlFileNm}, ${attachFile.fileSize} byte(s)</span> <span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">${attachFile.orignlFileNm}, ${attachFile.fileSize} byte(s)</button></span>
<span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">다운로드</button></span> <span><button type="button" onclick="fn_downloadFile('${attachFile.attachFileId}', ${attachFile.fileSn})">다운로드</button></span>
</div> </div>
</c:forEach> </c:forEach>