diff --git a/server/documents/modules/modal.html.eco b/server/documents/modules/modal.html.eco
index fa1ca6259..9f122d1ab 100755
--- a/server/documents/modules/modal.html.eco
+++ b/server/documents/modules/modal.html.eco
@@ -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 button is pressed. |
@@ -473,7 +473,7 @@ type : 'UI Module'
selector : {
close : '.close, .actions .button',
approve : '.actions .positive, .actions .approve',
- deny : '.actions .negative, .actions .cancel'
+ deny : '.actions .negative, .actions .deny'
},
diff --git a/src/modules/modal.js b/src/modules/modal.js
index 3df3c1b6b..43e455828 100755
--- a/src/modules/modal.js
+++ b/src/modules/modal.js
@@ -675,7 +675,7 @@ $.fn.modal.settings = {
selector : {
close : '.close, .actions .button',
approve : '.actions .positive, .actions .approve',
- deny : '.actions .negative, .actions .cancel',
+ deny : '.actions .negative, .actions .deny',
modal : '.ui.modal'
},
error : {