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(); }); },