my work is using javascript bootstrap 2.0.4
I'm looking for a way to cancel the modal from closing, by logic control. but I can't find any details how to do this
http://getbootstrap.com/javascript/#modals
something like .NET
OnWindowClosing(eventArguement)
{
if (shouldCancel) {
eventArguement.Cancel = true;
return;
}
}