Compare commits
No commits in common. "18eed66a0e611d0b53dc05291fcded9779dbd5b1" and "4d55df53688c5cfd5d97489235c6f1ea05947ecd" have entirely different histories.
18eed66a0e
...
4d55df5368
|
|
@ -83,11 +83,10 @@ $(document).on('click', '.uploadedFileDelete', function (){
|
|||
})
|
||||
|
||||
$(document).on('click', '.fileDownLink', function (){
|
||||
const target = $(this)
|
||||
let url = "/file/fileDownload?"
|
||||
url += "board="+target.attr("data-board");
|
||||
url += "&parentKey="+target.attr("data-parentkey");
|
||||
url += "&fileSeq="+target.attr("data-fileseq");
|
||||
url += "board="+$(this).attr("data-board");
|
||||
url += "&parentKey="+Number($("#viewModalPlanKey").val());
|
||||
url += "&fileSeq="+$(this).attr("data-fileseq");
|
||||
window.open(encodeURI(url));
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -79,8 +79,7 @@
|
|||
<th:block th:unless="${#lists.isEmpty(plan.fileList)}">
|
||||
<th:block th:each="file:${plan.fileList}">
|
||||
<tr class="fileInfoTr">
|
||||
<td><a href="#" class="fileDownLink" data-board="monthPlan"
|
||||
th:data-parentkey="${file.planKey}" th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn}|"></a></td>
|
||||
<td><a href="#" class="fileDownLink" data-board="monthPlan" th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn}|"></a></td>
|
||||
<td th:text="${file.fileSize}"></td>
|
||||
</tr>
|
||||
</th:block>
|
||||
|
|
|
|||
|
|
@ -56,8 +56,7 @@
|
|||
<th:block th:unless="${#lists.isEmpty(info.fileList)}">
|
||||
<th:block th:each="file:${info.fileList}">
|
||||
<tr class="fileInfoTr">
|
||||
<td><a href="#" class="fileDownLink" data-board="publicFile"
|
||||
th:data-parentkey="${file.publicKey}" th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn}|"></a></td>
|
||||
<td><a href="#" class="fileDownLink" data-board="monthPlan" th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn}|"></a></td>
|
||||
<td th:text="${file.fileSize}"></td>
|
||||
</tr>
|
||||
</th:block>
|
||||
|
|
|
|||
Loading…
Reference in New Issue