OWL ITS + 탐지시스템(인터넷 진흥원)
간헐적으로 스크롤바 사라지는 문제 수정
summernote 창에서 이동시 스크롤바 hidden 변경
2개 파일 변경됨
17 ■■■■ 파일 변경됨
src/main/webapp/assets/styles/main.css 2 ●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/custom_components/summernote/summernote.js 15 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/assets/styles/main.css
@@ -5225,7 +5225,7 @@
}*/
.modal-open {
    overflow: auto;
    overflow: hidden;
}
.modal {
src/main/webapp/custom_components/summernote/summernote.js
@@ -2020,7 +2020,7 @@
        hideDialog: function ($dialog) {
            $dialog.modal('hide');
            $("body").addClass("modal-open");
            $('.modal:visible').length && $(document.body).addClass('modal-open');
        },
        createLayout: function ($note, options) {
@@ -7293,9 +7293,20 @@
}));
var count = 0; // 모달이 열릴 때 마다 count 해서  z-index값을 높여줌
$(document).on('show.bs.modal', '.modal', function () {
    var zIndex = 1040 + (10 * count);
    $(this).css('z-index', zIndex);
    setTimeout(function() {
        $('.modal-backdrop').not('.modal-stack').css('z-index', zIndex - 1).addClass('modal-stack');
    }, 0);
    count = count + 1
});
function closeOwlModal() {
    $('.owl_close_modal').modal('hide');
    $('body').addClass('modal-open');
    $('.modal:visible').length && $(document.body).addClass('modal-open');
}
//  크롬 브라우저 한글 오류 패치