use new form element syntax, continued
This commit is contained in:
parent
cfb8d4f6a4
commit
8528b05368
9 changed files with 73 additions and 53 deletions
|
|
@ -73,7 +73,7 @@ pandora.ui.accountDialogOptions = function(action, value) {
|
|||
id: type,
|
||||
title: buttonTitle[type] + '...'
|
||||
}).bindEvent('click', function() {
|
||||
if (['signin', 'signup'].indexOf(type) > -1) {
|
||||
if (['signin', 'signup'].indexOf(type) > -1 && type != pandora.user.ui.page) {
|
||||
pandora.UI.set({page: type});
|
||||
} else {
|
||||
pandora.$ui.accountDialog.options(pandora.ui.accountDialogOptions(type));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue