Fixed reply action - show/hide to/cc field.

This commit is contained in:
Martin Edenhofer 2013-06-17 11:28:13 +02:00
parent 7a7a956f24
commit 790ed455f7

View file

@ -367,6 +367,7 @@ class App.TicketZoom extends App.Controller
# preselect article type # preselect article type
@el.find('[name="ticket_article_type_id"]').find('option:selected').removeAttr('selected') @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"]').find('[value="' + article_type.id + '"]').attr('selected',true)
@el.find('[name="ticket_article_type_id"]').trigger('change')
# empty form # empty form
@el.find('[name="to"]').val('') @el.find('[name="to"]').val('')