Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: chrome/browser/resources/options/sync_setup_overlay.js

Issue 7054062: Fix for sync setup UI when user is already logged in. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge with trunk Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/sync_setup_overlay.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/sync_setup_overlay.js
diff --git a/chrome/browser/resources/options/sync_setup_overlay.js b/chrome/browser/resources/options/sync_setup_overlay.js
index fb439c46bb415b8a1fa882a462fb13c4dbce2e57..21958d66c741bb44a42b4edae82e7012b6b49ec4 100644
--- a/chrome/browser/resources/options/sync_setup_overlay.js
+++ b/chrome/browser/resources/options/sync_setup_overlay.js
@@ -578,10 +578,10 @@ cr.define('options', function() {
}
if (!args.editable_user) {
- email.style.display = 'none';
- var span = document.getElementById('email-readonly');
- span.appendChild(document.createTextNode(email.value));
- span.style.display = 'inline';
+ email.hidden = true;
+ var span = $('email-readonly');
+ span.textContent = email.value;
+ span.hidden = false;
$('create-account-div').hidden = true;
}
« no previous file with comments | « chrome/browser/resources/options/sync_setup_overlay.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698