Fixed page header binding after ticket creation.
This commit is contained in:
parent
8051c1c741
commit
cc52b7844d
1 changed files with 6 additions and 4 deletions
|
@ -387,11 +387,13 @@ class App.TicketZoom extends App.Controller
|
||||||
@scrollToBottom()
|
@scrollToBottom()
|
||||||
@positionPageHeaderUpdate()
|
@positionPageHeaderUpdate()
|
||||||
|
|
||||||
return if @initDone
|
return if @initDone
|
||||||
@initDone = true
|
@initDone = true
|
||||||
|
|
||||||
# trigger shown if init shown render
|
# if shown was before init rendering, start actions again
|
||||||
App.Event.trigger('ui::ticket::shown', { ticket_id: @ticket_id })
|
if @shown
|
||||||
|
@positionPageHeaderStart()
|
||||||
|
App.Event.trigger('ui::ticket::shown', { ticket_id: @ticket_id })
|
||||||
|
|
||||||
scrollToBottom: =>
|
scrollToBottom: =>
|
||||||
@main.scrollTop( @main.prop('scrollHeight') )
|
@main.scrollTop( @main.prop('scrollHeight') )
|
||||||
|
|
Loading…
Reference in a new issue