Browse Source

Fixed redirect after ticket creation.

Martin Edenhofer 9 years ago
parent
commit
00bc40e4cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/assets/javascripts/app/controllers/agent_ticket_create.coffee

+ 1 - 1
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