From b5244355343b741203f8151a6d33ced87ecc9acd Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 30 Jun 2012 21:18:30 +0000 Subject: [PATCH] update pandora.signin / pandora signout --- static/js/pandora/utils.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 47b689e76..2af0f64c3 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -991,13 +991,13 @@ pandora.signin = function(data) { sectionElement: 'buttons', videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats) }); - // pandora.user.ui._list = pandora.getListState(pandora.user.ui.find); - // pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find); - // pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find); + pandora.user.ui._list = pandora.getListState(pandora.user.ui.find); + pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find); + pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find); pandora.site.sortKeys = pandora.getSortKeys(); pandora.URL.init(); + pandora.URL.update(); Ox.Theme(pandora.user.ui.theme); - pandora.UI.set({find: pandora.user.ui.find}); Ox.Request.clearCache(); pandora.$ui.appPanel.reload(); }; @@ -1005,13 +1005,13 @@ pandora.signin = function(data) { pandora.signout = function(data) { // fixme: this is still voodoo pandora.user = data.user; - //pandora.user.ui._list = pandora.getListState(pandora.user.ui.find); - //pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find); - //pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find); + pandora.user.ui._list = pandora.getListState(pandora.user.ui.find); + pandora.user.ui._filterState = pandora.getFilterState(pandora.user.ui.find); + pandora.user.ui._findState = pandora.getFindState(pandora.user.ui.find); pandora.site.sortKeys = pandora.getSortKeys(); pandora.URL.init(); - Ox.Theme(pandora.site.user.ui.theme); - pandora.UI.set({find: pandora.user.ui.find}); + pandora.URL.update(); + Ox.Theme(pandora.user.ui.theme); Ox.Request.clearCache(); pandora.$ui.appPanel.reload(); };