콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
7266 화면

Hi !

I am trying to display a confirm dialog on my page using jquery :

$( document ).ready(function() {

var message = "test";
    var options = {
    title: "test",
    confirm_callback: function() {
     },
     cancel_callback: function() {
    },
    };
    var dialog = Dialog.confirm(this, message, options)
    dialog.$modal.on('hidden.bs.modal', function() {
    def.reject();
    });
}

But my problem is that I get the error mentioned in the title when the page loads.

Is it a bug ?

Thanks


아바타
취소