fix an error on login, logout, or load with empty find string

This commit is contained in:
rlx 2011-08-24 16:42:55 +00:00
commit 9a47b5020f
3 changed files with 19 additions and 4 deletions

View file

@ -104,12 +104,14 @@ pandora.getVideoPartsAndPoints = function(durations, points) {
pandora.login = function(data) {
pandora.user = data.user;
pandora.Query.updateGroups();
Ox.Theme(pandora.user.ui.theme);
pandora.$ui.appPanel.reload();
};
pandora.logout = function(data) {
pandora.user = data.user;
pandora.Query.updateGroups();
Ox.Theme(pandora.site.user.ui.theme);
pandora.$ui.appPanel.reload();
};