Reduced time to reload ticket.

This commit is contained in:
Martin Edenhofer 2015-05-03 22:40:31 +02:00
parent ea431683f5
commit e7550ce169

View file

@ -54,7 +54,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, 1800, 'ticket-zoom-' + @ticket_id )
@delay( update, 1200, 'ticket-zoom-' + @ticket_id )
)
# rerender view, e. g. on langauge change