From 1f73cb17f098e13961ec73361570c2e53111c5ee Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 14 Oct 2012 15:53:39 +0200 Subject: [PATCH] Code layout improvement. --- .../javascripts/app/controllers/agent_ticket_create.js.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee index 952380f99..ed3c4af2b 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_create.js.coffee @@ -191,7 +191,7 @@ class Index extends App.Controller @formValidate( form: e.target, errors: errors ) # save ticket, create article - else + else # disable form @formDisable(e) @@ -208,7 +208,7 @@ class Index extends App.Controller # create new create screen ui.render() - + # scroll to top ui.scrollTo()