Fixed page endless loops.
This commit is contained in:
parent
31c725864d
commit
acad651fef
2 changed files with 2 additions and 1 deletions
|
@ -51,6 +51,7 @@ class App.ProfileLanguage extends App.Controller
|
|||
=>
|
||||
App.i18n.set( @locale )
|
||||
App.Event.trigger( 'ui:rerender' )
|
||||
App.Event.trigger( 'ui:page:rerender' )
|
||||
@notify(
|
||||
type: 'success'
|
||||
msg: App.i18n.translateContent( 'Successfully!' )
|
||||
|
|
|
@ -75,7 +75,7 @@ class App.Content extends App.Controller
|
|||
|
||||
# rerender view on ui:rerender event
|
||||
App.Event.bind(
|
||||
'ui:rerender', =>
|
||||
'ui:page:rerender', =>
|
||||
controller( params )
|
||||
'page'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue