This commit is contained in:
j 2023-08-12 16:37:07 +02:00
parent f8125e623f
commit 8760491f35

View file

@ -217,7 +217,11 @@ pandora.ui.home = function() {
.bindEvent({
click: function() {
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.$ui.appPanel.reload()
that.fadeOutScreen();
@ -235,7 +239,11 @@ pandora.ui.home = function() {
.bindEvent({
click: function() {
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.$ui.appPanel.reload()
that.fadeOutScreen();