c# - Bootstrap multiple modal confirm block parent modal -
i implement delete row confirmation modal. i'm try used "data-backdrop="static"", operation not help.
example: "http://jsfiddle.net/kqxqm/"
if open "fg modal" can close "bg modal". how implement block parent modal("bg modal") when open child modal.
if you're saying want prevent parent modal closing while child modal open, this..
$('#mymodal2').on('show', function() { $('#mymodal').css('opacity', .5); $('#mymodal').unbind(); }); $('#mymodal2').on('hidden', function() { $('#mymodal').css('opacity', 1); $('#mymodal').removedata("modal").modal({}); });
Comments
Post a Comment