From 2a1dc06811cbaad467b7d94cdb9892d74df334d3 Mon Sep 17 00:00:00 2001 From: Mohammad Younes Date: Mon, 6 Jan 2014 00:00:06 +0200 Subject: [PATCH] A more consistent selector. --- server/documents/modules/modal.html.eco | 4 ++-- src/modules/modal.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 : {