diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-28 18:21:26 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-28 18:21:26 +0000 |
commit | 121352a9a4a7177af585952ff2f3a1e4ec6619f5 (patch) | |
tree | b8503e4537ed4950f129aa320341a4de720f14b2 /chrome | |
parent | e6affbb71df08d48d1c69de86944bfe2a8f92b16 (diff) | |
download | chromium_src-121352a9a4a7177af585952ff2f3a1e4ec6619f5.zip chromium_src-121352a9a4a7177af585952ff2f3a1e4ec6619f5.tar.gz chromium_src-121352a9a4a7177af585952ff2f3a1e4ec6619f5.tar.bz2 |
Sync Promo: Correctly setup sync
With r107251 the sync promo page stopped loading.
The problem was due to a difference between the sync promo and the options Sign In UI. The options UI calls ShowSetupUI() when showing the sign in overlay. The promo wasn't calling this causing sync not to be setup correctly.
Fix was to match the behavior of the options UI and call ShowSetupUI() when showing the sync promo page.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8416033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/sync_promo.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/sync_promo.js b/chrome/browser/resources/sync_promo.js index d387518..924c356 100644 --- a/chrome/browser/resources/sync_promo.js +++ b/chrome/browser/resources/sync_promo.js @@ -59,6 +59,7 @@ cr.define('sync_promo', function() { $('sync-setup-login-promo-column').hidden = false; $('promo-skip').hidden = false; + this.showSetupUI_(); chrome.send('SyncPromo:Initialize'); var self = this; |