Hide the login link if they've logged in (bug 710378)
This commit is contained in:
Родитель
cf60837045
Коммит
f035924121
|
@ -128,7 +128,10 @@ function loadProfileCompletionForm($root, options) {
|
||||||
win = options.window || window,
|
win = options.window || window,
|
||||||
$form = $('form', $root),
|
$form = $('form', $root),
|
||||||
handler;
|
handler;
|
||||||
$('#browserid-login').hide(); // Don't let people log in twice; will cause error
|
|
||||||
|
// Don't let people log in twice; will cause error
|
||||||
|
$('#browserid-login, .browserid-login').hide();
|
||||||
|
|
||||||
$root.show();
|
$root.show();
|
||||||
$(win).trigger('resize'); // I hate this so much. I vow to someday fix this properly.
|
$(win).trigger('resize'); // I hate this so much. I vow to someday fix this properly.
|
||||||
$('input[type="text"]', $root).eq(0).focus();
|
$('input[type="text"]', $root).eq(0).focus();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче