Rerender on language change.

This commit is contained in:
Martin Edenhofer 2015-10-02 08:17:17 +02:00
parent 736feb62b6
commit 798b4d279f

View file

@ -60,7 +60,15 @@ class App.TicketZoom extends App.Controller
# rerender view, e. g. on langauge change
@bind 'ui:rerender', =>
return if !@authenticate(true)
@render(true)
# reset controllers state vars
@shown = false
@initDone = false
@activeState = false
@renderDone = false
# rerender view
@render()
meta: =>