Set online notifications always to seen on controller show().
This commit is contained in:
parent
d1485c6c22
commit
5ece50c39a
1 changed files with 5 additions and 2 deletions
|
@ -89,6 +89,11 @@ class App.TicketZoom extends App.Controller
|
|||
|
||||
show: (params) =>
|
||||
|
||||
@navupdate '#'
|
||||
|
||||
# set all notifications to seen
|
||||
App.OnlineNotification.seen( 'Ticket', @ticket_id )
|
||||
|
||||
# if controller is executed twice, go to latest article
|
||||
if @activeState
|
||||
@scrollToBottom()
|
||||
|
@ -103,8 +108,6 @@ class App.TicketZoom extends App.Controller
|
|||
@highlighed = true
|
||||
@highligher.loadHighlights()
|
||||
|
||||
App.OnlineNotification.seen( 'Ticket', @ticket_id )
|
||||
@navupdate '#'
|
||||
@positionPageHeaderStart()
|
||||
|
||||
hide: =>
|
||||
|
|
Loading…
Reference in a new issue