2022-09-19 09:20:49 +00:00
|
|
|
|
2022-09-27 08:57:27 +00:00
|
|
|
$(function(){
|
|
|
|
|
$("#dateSelectorDiv").datepicker({
|
|
|
|
|
format: "yyyy-mm-dd",
|
2022-10-28 09:00:38 +00:00
|
|
|
language: "ko",
|
|
|
|
|
autoclose: true
|
2022-09-27 08:57:27 +00:00
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
|
2022-09-19 09:20:49 +00:00
|
|
|
$(document).on('click', '#addNoticeBtn', function (){
|
|
|
|
|
getEditModal(null, "PLB001")
|
|
|
|
|
})
|
|
|
|
|
|
2022-10-18 02:46:46 +00:00
|
|
|
$(document).on('click', '.noticeTr', function (){
|
2022-09-19 09:20:49 +00:00
|
|
|
$(".trChkBox").prop("checked", false);
|
|
|
|
|
$(this).find(".trChkBox").prop("checked", true);
|
2022-10-18 02:46:46 +00:00
|
|
|
getViewModal(Number($(this).find(".publicKey").val()), "PLB001");
|
2022-09-19 09:20:49 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$(document).on('click', '#saveBtn', function (){
|
2022-09-20 06:05:16 +00:00
|
|
|
savePublicBoard("noticeEditForm", "PLB001")
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$(document).on('click', '#editBtn', function (){
|
|
|
|
|
$("#viewModal").modal('hide')
|
|
|
|
|
getEditModal($("#viewModalPublicKey").val(), "PLB001")
|
2022-09-19 09:20:49 +00:00
|
|
|
})
|