From ddb6155870b02dc5fa9ffbcf2c14aeb89ec08eb9 Mon Sep 17 00:00:00 2001 From: Heiko Kernbach Date: Wed, 20 Aug 2014 11:28:31 +0200 Subject: [PATCH] fixed a modal view bug --- js/apps/system/aardvark/frontend/js/views/modalView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/apps/system/aardvark/frontend/js/views/modalView.js b/js/apps/system/aardvark/frontend/js/views/modalView.js index b9c44b341e..c9b03bf5a4 100644 --- a/js/apps/system/aardvark/frontend/js/views/modalView.js +++ b/js/apps/system/aardvark/frontend/js/views/modalView.js @@ -100,13 +100,13 @@ createModalHotkeys: function() { //submit modal $(this.el).bind('keydown', 'ctrl+return', function(){ - $('.button-success').click(); + $('.modal-footer .button-success').click(); }); $("input", $(this.el)).bind('keydown', 'return', function(){ - $('.button-success').click(); + $('.modal-footer .button-success').click(); }); $("select", $(this.el)).bind('keydown', 'return', function(){ - $('.button-success').click(); + $('.modal-footer .button-success').click(); }); },