From 23dfce11911f552a0a922222d3924ce0754fff68 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 21 Sep 2014 15:19:00 +0200 Subject: [PATCH] Lost ticket lists if second tab with other user was opened. --- .../app/controllers/_dashboard/ticket_search.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_dashboard/ticket_search.js.coffee b/app/assets/javascripts/app/controllers/_dashboard/ticket_search.js.coffee index 4d33be320..4e5b01020 100644 --- a/app/assets/javascripts/app/controllers/_dashboard/ticket_search.js.coffee +++ b/app/assets/javascripts/app/controllers/_dashboard/ticket_search.js.coffee @@ -7,7 +7,7 @@ class App.DashboardTicketSearch extends App.Controller @item_from = 1 @navupdate '#' - @key = @name + @Session.get('id') + @key = @name + Math.floor( Math.random() * 999999 ).toString() # render @fetch()