dont use http locale until locale can be changed in ui

This commit is contained in:
j 2013-07-28 17:57:14 +02:00
parent aeed539fe7
commit 19b3c43808
1 changed files with 3 additions and 2 deletions

View File

@ -327,8 +327,9 @@ appPanel
});
// set locale and initialize url controller
// data.locale
pandora.setLocale(pandora.user.ui.locale || data.locale, function() {
// data.locale is prefered language according to http header
//pandora.setLocale(pandora.user.ui.locale || data.locale, function() {
pandora.setLocale(pandora.user.ui.locale, function() {
pandora.URL.init().parse(function() {
var isHome = Ox.contains(['/', '/home'], document.location.pathname);
if (data.browserSupported) {