Fixed attachment upload.

This commit is contained in:
Martin Edenhofer 2015-11-11 10:57:25 +01:00
parent e8094488f8
commit 1c1dd25832
2 changed files with 5 additions and 1 deletions

View file

@ -64,7 +64,10 @@ class Index extends App.ControllerContent
groupFilter = [groupFilter]
@form_meta.filter.group_id = groupFilter
@html App.view('customer_ticket_create')( head: 'New Ticket' )
@html App.view('customer_ticket_create')(
head: 'New Ticket'
form_id: @form_id
)
new App.ControllerForm(
el: @el.find('.ticket-form-top')

View file

@ -7,6 +7,7 @@
</div>
<form role="form" class="ticket-create">
<input type="hidden" name="form_id" value="<%= @form_id %>"/>
<div class="ticket-form-top"></div>
<div class="article-form-top"></div>