diff --git a/server/documents/modules/modal.html.eco b/server/documents/modules/modal.html.eco index 9f122d1ab..3cd22df41 100755 --- a/server/documents/modules/modal.html.eco +++ b/server/documents/modules/modal.html.eco @@ -168,7 +168,7 @@ type : 'UI Module'

Approve / Deny Callbacks

-

Modals will automatically tie approve deny callbacks to any positive/approve or negative/deny buttons. If a callback returns false it will prevent the modal from closing

+

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

$('.basic.modal') .modal('setting', { @@ -444,7 +444,7 @@ type : 'UI Module' onDeny Modal - Is called after a negative or deny button is pressed. + Is called after a negative or deny or cancel button is pressed. @@ -472,8 +472,8 @@ type : 'UI Module'
selector : { close : '.close, .actions .button', - approve : '.actions .positive, .actions .approve', - deny : '.actions .negative, .actions .deny' + approve : '.actions .positive, .actions .approve, .actions .ok', + deny : '.actions .negative, .actions .deny, .actions .cancel' },
@@ -539,4 +539,4 @@ type : 'UI Module'
-
\ No newline at end of file +