fix an error on login, logout, or load with empty find string
This commit is contained in:
parent
27dddd55f6
commit
9a47b5020f
3 changed files with 19 additions and 4 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue