best way known yet to rerender after language switch
question still open: http://stackoverflow.com/questions/26091303/recommended-way-to-rerender-page-in-ember-after-language-switch
This commit is contained in:
parent
116f4ebda6
commit
ebdf0b796f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export default Ember.View.extend({
|
|||
Ember.I18n.translations = translations[language];
|
||||
|
||||
// rerender page
|
||||
this.get('parentView').rerender();
|
||||
App.reset();
|
||||
|
||||
// set cookie when language is changed manualy
|
||||
document.cookie="language=" + language + ";" +
|
||||
|
|
Loading…
Reference in a new issue