diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee index 69e5463d8..821f4dc4c 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_new.coffee @@ -137,6 +137,7 @@ class App.TicketZoomArticleNew extends App.Controller ticket: ticket articleTypes: @articleTypes article: @defaults + form_id: @form_id isCustomer: @isRole('Customer') ) @setArticleType(@type) @@ -167,7 +168,7 @@ class App.TicketZoomArticleNew extends App.Controller html5Upload.initialize( uploadUrl: App.Config.get('api_path') + '/ticket_attachment_upload', - dropContainer: @el.get(0), + dropContainer: @$('.article-add').get(0), cancelContainer: @cancelContainer, inputField: @$('.article-attachment input').get(0), key: 'File', diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco index e380f4038..8623d6b87 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco @@ -1,7 +1,7 @@
- +