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