Make a faster update of server side changes.
This commit is contained in:
parent
451a768f8e
commit
8aebe614ec
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue