Chromium Code Reviews| Index: chrome/browser/sync/resources/gaia_login.html |
| =================================================================== |
| --- chrome/browser/sync/resources/gaia_login.html (revision 29232) |
| +++ chrome/browser/sync/resources/gaia_login.html (working copy) |
| @@ -19,6 +19,9 @@ |
| text-align: left; |
| } |
| #gaia_account_text { font-weight: bold; } |
| + #email_readonly { font-size: 10pt; |
| + font-weight: bold; |
| + display: none; } |
| div.errorbox-good {} |
| div.errorbox-bad {} |
| div.errormsg { color: red; font-size: smaller; |
| @@ -57,6 +60,10 @@ |
| if (f.Email && (f.Email.value == null || f.Email.value == "")) { |
| f.Email.focus(); |
| } else if (f.Passwd) { |
| + f.Email.style.display = 'none'; |
|
tim (not reviewing)
2009/10/29 20:54:55
when does gaia_setFocus get called? Can this cause
|
| + var span = document.getElementById('email_readonly'); |
| + span.appendChild(document.createTextNode(f.Email.value)); |
| + span.style.display = 'inline'; |
| f.Passwd.focus(); |
| } |
| } |
| @@ -244,6 +251,7 @@ |
| <td> |
| <input type="text" name="Email" id="Email" size="18" |
| value="" class='gaia le val' /> |
| + <span id="email_readonly"></span> |
| </td> |
| </tr> |
| <tr> |