save reference to preferences dialog

This commit is contained in:
rolux 2012-06-30 20:05:45 +00:00
parent 3f891469bc
commit 7c94d74156

View file

@ -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();
} }