From 790ed455f75617e0ca44a511e4f961f911131b7b Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 17 Jun 2013 11:28:13 +0200 Subject: [PATCH] Fixed reply action - show/hide to/cc field. --- .../javascripts/app/controllers/agent_ticket_zoom.js.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee index 17f3772db..adb77fa6f 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_zoom.js.coffee @@ -367,6 +367,7 @@ class App.TicketZoom extends App.Controller # preselect article type @el.find('[name="ticket_article_type_id"]').find('option:selected').removeAttr('selected') @el.find('[name="ticket_article_type_id"]').find('[value="' + article_type.id + '"]').attr('selected',true) + @el.find('[name="ticket_article_type_id"]').trigger('change') # empty form @el.find('[name="to"]').val('')