<p>Modals will automatically tie approve deny callbacks to any positive/approve or negative/deny or ok/cancel buttons. If a callback returns false it will prevent the modal from closing</p>
<p>Modals will automatically tie approve deny callbacks to any positive/approve, negative/deny or ok/cancel buttons. If a callback returns false it will prevent the modal from closing</p>
<div class="code" data-demo="true">
$('.basic.modal')
.modal('setting', {
@ -450,12 +450,12 @@ type : 'UI Module'
<tr>
<td>onApprove</td>
<td>Modal</td>
<td>Is called after a positive or approve or ok button is pressed</td>
<td>Is called after a positive, approve or ok button is pressed</td>
</tr>
<tr>
<td>onDeny</td>
<td>Modal</td>
<td>Is called after a negative or deny or cancel button is pressed.</td>
<td>Is called after a negative, deny or cancel button is pressed.</td>