From 00bc40e4cb92b7142249ca69b1a1677c0abd2359 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 7 Mar 2016 22:24:47 +0100 Subject: [PATCH] Fixed redirect after ticket creation. --- .../javascripts/app/controllers/agent_ticket_create.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/agent_ticket_create.coffee b/app/assets/javascripts/app/controllers/agent_ticket_create.coffee index f9d71e238..4099a8a65 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_create.coffee +++ b/app/assets/javascripts/app/controllers/agent_ticket_create.coffee @@ -439,7 +439,7 @@ class App.TicketCreate extends App.Controller ui.scrollTo() # access to group - group_ids = _.filter(App.Session.get('group_ids'), (id) -> id.toString()) + group_ids = _.map(App.Session.get('group_ids'), (id) -> id.toString()) if group_ids && _.contains(group_ids, @group_id.toString()) ui.navigate "#ticket/zoom/#{@id}" return