set ui._list not only if showing home screen

This commit is contained in:
j 2011-11-04 12:24:54 +01:00
parent fb1722cb42
commit b1c5a76e0d
2 changed files with 2 additions and 6 deletions

View file

@ -115,7 +115,6 @@ appPanel
loadingScreen.style.backgroundColor = theme == 'classic'
? 'rgb(224, 224, 224)' : 'rgb(32, 32, 32)';
loadingScreen.style.zIndex = '1001';
Ox.print(images)
loadingScreen.appendChild(images.logo);
loadingScreen.appendChild(images.reflection);
loadingScreen.appendChild(gradient);
@ -138,7 +137,7 @@ appPanel
theme: theme
},
Geo: {}
}, callback)
}, callback);
}
function loadPandora(browserSupported) {
@ -237,7 +236,6 @@ appPanel
}) : null;
})
});
pandora.site.listSettings = {};
Ox.map(pandora.site.user.ui, function(val, key) {
if (/^list[A-Z]/.test(key)) {

View file

@ -115,6 +115,7 @@ pandora.URL = (function() {
Ox.print('SET STATE:', state)
var find, previousUI = pandora.UI.getPrevious();
pandora.user.ui._list = pandora.getListsState(pandora.user.ui.find);
pandora.user.ui._groupsState = pandora.getGroupsState(pandora.user.ui.find);
pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find);
@ -122,9 +123,6 @@ pandora.URL = (function() {
if (pandora.user.ui.showHome) {
pandora.$ui.home = pandora.ui.home().showScreen();
pandora.user.ui._list = pandora.getListsState(pandora.user.ui.find);
pandora.user.ui._groupsState = pandora.getGroupsState(pandora.user.ui.find);
pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find);
} else {
/*
pandora.UI.set({