actual fix for home screen issue

This commit is contained in:
rolux 2013-07-08 17:27:24 +00:00
parent 489fc61039
commit 5a91617f8e
5 changed files with 5 additions and 1 deletions

View file

@ -815,6 +815,7 @@
"showBrowser": true,
"showCalendarControls": true, // fixme: should be false
"showFilters": true,
"showHome": true,
"showIconBrowser": false,
"showInfo": true,
"showLayers": {

View file

@ -825,6 +825,7 @@
"showBrowser": true,
"showCalendarControls": true, // fixme: should be false
"showFilters": true,
"showHome": true,
"showIconBrowser": false,
"showInfo": true,
"showLayers": {

View file

@ -704,6 +704,7 @@
"showBrowser": true,
"showCalendarControls": true, // fixme: should be false
"showFilters": true,
"showHome": true,
"showIconBrowser": false,
"showInfo": true,
"showLayers": {

View file

@ -623,6 +623,7 @@
"showBrowser": true,
"showCalendarControls": true, // fixme: should be false
"showFilters": true,
"showHome": true,
"showIconBrowser": false,
"showInfo": true,
"showLayers": {

View file

@ -90,7 +90,7 @@ pandora.URL = (function() {
if (Ox.isEmpty(state)) {
if (pandora.user.ui.page == '') {
if (pandora.user.ui.showHome && pandora.user.ui.page != 'home') {
pandora.$ui.home = pandora.ui.home().showScreen();
}
callback && callback();