Closed efusionsoft closed 8 years ago
Yes, it supports, you can do that!
// set modal options
eModal.setModalOptions({
backdrop: 'static',
keyboard: false
});
Thanks @saribe it worked! I was trying:
$('.post-job').click(function (event){
var options = {
url: 'job/new',
title:'Post your requirements',
buttons:[],
size: eModal.size.lg,
useBin: true,
backdrop: 'static',
keyboard: false
};
eModal.iframe(options);
});
I changed it to below code to make it work:
eModal.setModalOptions({
backdrop: 'static',
keyboard: false
});
$('.post-job').click(function (event){
var options = {
url: "job/new",
title:'Post your requirements',
buttons:[],
size: eModal.size.lg,
useBin: true
};
eModal.iframe(options);
});
Bootstrap modal supports backdrop:static and keyword: false options so that the modal box does not closes if you accidentally clicks outside of a modal box but this is not working with this plugin.