From 366a0b32e3d9654ea5c9d25f47c3d5266137cafa Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 2 Sep 2019 09:55:10 +0200 Subject: [PATCH] Improved wording. --- .../app/controllers/_application_controller_form.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_form.coffee b/app/assets/javascripts/app/controllers/_application_controller_form.coffee index 2771d92b1..5dbf404c6 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_form.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_form.coffee @@ -41,7 +41,7 @@ class App.ControllerForm extends App.Controller # Previously the handlers are called directly, before the DOM elements are ready, thereby causing a race condition under IE11. # Now we only dispatch the handlers after the DOM is ready. if @handlers.length - $(@dispatch_handlers) + $(@dispatchHandlers) # if element is given, prepend form to it if @el @@ -57,7 +57,7 @@ class App.ControllerForm extends App.Controller @finishForm = true @form - dispatch_handlers: => + dispatchHandlers: => params = App.ControllerForm.params(@form) for attribute in @attributes for handler in @handlers