Rerender on language change.
This commit is contained in:
parent
736feb62b6
commit
798b4d279f
1 changed files with 9 additions and 1 deletions
|
@ -60,7 +60,15 @@ class App.TicketZoom extends App.Controller
|
||||||
# rerender view, e. g. on langauge change
|
# rerender view, e. g. on langauge change
|
||||||
@bind 'ui:rerender', =>
|
@bind 'ui:rerender', =>
|
||||||
return if !@authenticate(true)
|
return if !@authenticate(true)
|
||||||
@render(true)
|
|
||||||
|
# reset controllers state vars
|
||||||
|
@shown = false
|
||||||
|
@initDone = false
|
||||||
|
@activeState = false
|
||||||
|
@renderDone = false
|
||||||
|
|
||||||
|
# rerender view
|
||||||
|
@render()
|
||||||
|
|
||||||
meta: =>
|
meta: =>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue