Chromium Code Reviews| Index: chrome/browser/resources/sync_promo.js |
| diff --git a/chrome/browser/resources/sync_promo.js b/chrome/browser/resources/sync_promo.js |
| index e2366dbfd80612f9a7578b75d91cf1d933f54873..37d7a1952871537d511c784e552d561de31963fb 100644 |
| --- a/chrome/browser/resources/sync_promo.js |
| +++ b/chrome/browser/resources/sync_promo.js |
| @@ -144,6 +144,14 @@ cr.define('sync_promo', function() { |
| this.toggleHidden_.bind(this)); |
| this.learnMore_.addEventListener('webkitTransitionEnd', |
| this.toggleHidden_.bind(this)); |
| + |
| + // Start the page focused on the email/username field. |
| + $('gaia-email').focus(); |
|
sail
2011/11/09 01:54:39
I don't think this is the correct fix.
sync_setup
|
| + |
| + // Fix tab order for only the sync promo by breaking the byte order and |
| + // putting the learn more button on top via [tabindex]. |
| + $('promo-learn-more-show').tabIndex = 1; |
| + $('promo-learn-more-hide').tabIndex = 1; |
| }, |
| /** |