forked from 0x2620/pandora
save reference to preferences dialog
This commit is contained in:
parent
3f891469bc
commit
7c94d74156
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ pandora.ui.appPanel = function() {
|
||||||
if (pandora.user.level == 'guest') {
|
if (pandora.user.level == 'guest') {
|
||||||
pandora.UI.set({page: ''});
|
pandora.UI.set({page: ''});
|
||||||
} else if (page == 'preferences') {
|
} else if (page == 'preferences') {
|
||||||
pandora.ui.preferencesDialog().open();
|
pandora.$ui.preferencesDialog = pandora.ui.preferencesDialog().open();
|
||||||
} else {
|
} else {
|
||||||
pandora.ui.accountSignoutDialog().open();
|
pandora.ui.accountSignoutDialog().open();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue