<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">
<div class="code" data-demo="true">
$('.basic.modal')
$('.basic.modal')
.modal('setting', {
.modal('setting', {
@ -450,12 +450,12 @@ type : 'UI Module'
<tr>
<tr>
<td>onApprove</td>
<td>onApprove</td>
<td>Modal</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>
<tr>
<tr>
<td>onDeny</td>
<td>onDeny</td>
<td>Modal</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>