Browse Source

Lost ticket lists if second tab with other user was opened.

Martin Edenhofer 10 years ago
parent
commit
23dfce1191

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