mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Set the language on TAPi18n
when user selects language
When the `TAPi18n` initialization code was removed from an `autorun()` it no longer is rerun when a user's profile language is changed.
This commit is contained in:
parent
c62396e389
commit
b0522836e6
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ Template.changeLanguagePopup.events({
|
|||
'profile.language': this.tag,
|
||||
},
|
||||
});
|
||||
TAPi18n.setLanguage(this.tag);
|
||||
event.preventDefault();
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue