diff --git a/app/assets/javascripts/app/controllers/agent_ticket_create.coffee b/app/assets/javascripts/app/controllers/agent_ticket_create.coffee index f540416e9..89ae5f150 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_create.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_create.coffee @@ -159,7 +159,10 @@ class App.TicketCreate extends App.Controller buildScreen: (params) => if !params.ticket_id && !params.article_id - @render(options: { customer_id: params.customer_id }) + if !_.isEmpty(params.customer_id) + @render(options: { customer_id: params.customer_id }) + return + @render() return # fetch split ticket data diff --git a/app/assets/javascripts/app/views/customer_ticket_create.jst.eco b/app/assets/javascripts/app/views/customer_ticket_create.jst.eco index c698e335a..2ab383135 100644 --- a/app/assets/javascripts/app/views/customer_ticket_create.jst.eco +++ b/app/assets/javascripts/app/views/customer_ticket_create.jst.eco @@ -19,8 +19,8 @@