모달창 드래그 기능 제거 및 모달창 세로 스크롤 추가

main
이범준 10 months ago
parent 4aaa1025f8
commit c905a5bf6c

@ -5,7 +5,7 @@
<h5 class="modal-title">{title}</h5>
<button id="close{id}" type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" style="min-height:10em; min-width:30%;">
<div class="modal-body" style="min-height:10em; min-width:30%;overflow-y:auto;max-height:750px;">
</div>
<div class="modal-footer text-end hidden">
<button type="button" class="btn btn-primary">확인</button>

@ -159,7 +159,7 @@ var dialog = {
setTimeout(function(){dialog.close(id);}, conf.timeout);
}
dlg.draggable().modal("show");
dlg.modal("show");
$(".modal-backdrop").each(function() { // gives id to its backdrop
let backdrop = $(this);
if (!backdrop.prop("id"))

Loading…
Cancel
Save