From b49d0878176f44d7f60b9e7be488bf90a27c53ca Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 23 Jan 2015 11:39:16 +0100 Subject: [PATCH] Fixed browser test (syntax error in selector). --- .../app/controllers/_application_controller.js.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller.js.coffee b/app/assets/javascripts/app/controllers/_application_controller.js.coffee index 5db49b072..1820ef8a7 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.js.coffee @@ -510,10 +510,10 @@ class App.ControllerModal extends App.Controller '.modal-body': 'body' events: - 'submit form': 'onSubmit' - 'click .js-submit: not(.is-disabled)': 'onSubmit' - 'click .js-cancel': 'hide' - 'click .js-close': 'hide' + 'submit form': 'onSubmit' + 'click .js-submit:not(.is-disabled)': 'onSubmit' + 'click .js-cancel': 'hide' + 'click .js-close': 'hide' className: 'modal fade'