From 8aebe614ec9fdbdd5ce88f79ee4421cee4d71bde Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 8 Jun 2016 00:12:03 +0200 Subject: [PATCH] Make a faster update of server side changes. --- app/assets/javascripts/app/controllers/ticket_zoom.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.coffee index c449af276..5b569e189 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.coffee @@ -50,7 +50,7 @@ class App.TicketZoom extends App.Controller update = => @fetch(@ticket_id, false) if !@ticketUpdatedAtLastCall || ( new Date(data.updated_at).toString() isnt new Date(@ticketUpdatedAtLastCall).toString() ) - @delay(update, 1100, "ticket-zoom-#{@ticket_id}") + @delay(update, 500, "ticket-zoom-#{@ticket_id}") ) # rerender view, e. g. on langauge change