Reduced time to reload ticket.
This commit is contained in:
parent
ea431683f5
commit
e7550ce169
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue