diff --git a/README.md b/README.md index 53544ddc4..b68ee5548 100755 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Semantic UI is under constant development, so **be sure to check out our [releas [![Flattr This](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=jlukic&url=https%3A%2F%2Fgithub.com%2Fjlukic%2FSemantic-UI) -> Comunity contributed plugins and ports for Wordpress, Angular, Dart, Knockout, Rails, and more can be found on the [Integration page](https://github.com/Semantic-Org/Semantic-UI/wiki/Integration). +> Community contributed plugins and ports for Wordpress, Angular, Dart, Knockout, Rails, and more can be found on the [Integration page](https://github.com/Semantic-Org/Semantic-UI/wiki/Integration). ## Translations diff --git a/server/documents/modules/modal.html.eco b/server/documents/modules/modal.html.eco index fa1ca6259..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 cancel 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 .cancel' + 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 + diff --git a/src/modules/modal.js b/src/modules/modal.js index 31e255a84..1cd39d74d 100755 --- a/src/modules/modal.js +++ b/src/modules/modal.js @@ -678,8 +678,8 @@ $.fn.modal.settings = { selector : { close : '.close, .actions .button', - approve : '.actions .positive, .actions .approve', - deny : '.actions .negative, .actions .cancel', + approve : '.actions .positive, .actions .approve, .actions .ok', + deny : '.actions .negative, .actions .deny, .actions .cancel', modal : '.ui.modal' }, error : { @@ -693,4 +693,4 @@ $.fn.modal.settings = { }; -})( jQuery, window , document ); \ No newline at end of file +})( jQuery, window , document );