fix en
This commit is contained in:
parent
f8125e623f
commit
8760491f35
1 changed files with 10 additions and 2 deletions
|
@ -217,7 +217,11 @@ pandora.ui.home = function() {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
click: function() {
|
click: function() {
|
||||||
var value = "tr"
|
var value = "tr"
|
||||||
pandora.UI.set({locale: value});
|
pandora.UI.set({
|
||||||
|
locale: value,
|
||||||
|
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page,
|
||||||
|
section: 'items'
|
||||||
|
});
|
||||||
pandora.setLocale(value, () => {
|
pandora.setLocale(value, () => {
|
||||||
pandora.$ui.appPanel.reload()
|
pandora.$ui.appPanel.reload()
|
||||||
that.fadeOutScreen();
|
that.fadeOutScreen();
|
||||||
|
@ -235,7 +239,11 @@ pandora.ui.home = function() {
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
click: function() {
|
click: function() {
|
||||||
var value = "en"
|
var value = "en"
|
||||||
pandora.UI.set({locale: value});
|
pandora.UI.set({
|
||||||
|
locale: value,
|
||||||
|
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page,
|
||||||
|
section: 'items'
|
||||||
|
});
|
||||||
pandora.setLocale(value, () => {
|
pandora.setLocale(value, () => {
|
||||||
pandora.$ui.appPanel.reload()
|
pandora.$ui.appPanel.reload()
|
||||||
that.fadeOutScreen();
|
that.fadeOutScreen();
|
||||||
|
|
Loading…
Reference in a new issue