fix a bug where the sign up/sign in dialog button would not get enabled

This commit is contained in:
rolux 2011-10-03 00:19:38 +00:00
parent edb20ee2ce
commit 0de88203da

View file

@ -116,7 +116,7 @@ pandora.URL = (function() {
pandora.$ui.helpDialog = pandora.ui.helpDialog().open();
} else if (['signup', 'signin'].indexOf(state.page) > -1) {
if (pandora.user.level == 'guest') {
pandora.ui.accountDialog(state.page).open();
pandora.$ui.accountDialog = pandora.ui.accountDialog(state.page).open();
} else {
pandora.URL.replace('/');
}