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

Unified Diff: chrome/browser/resources/chromeos/login/screen_gaia_signin.js

Issue 7670014: [ChromeOS] Fix a problem that Gaia shows up on every bad auth. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/screen_gaia_signin.js
diff --git a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
index 5e131bd12fd8ba838a0c0fffaa492f58241a6d08..de38c6436d14fa051cbc6d98cb54441057da335d 100644
--- a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
+++ b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
@@ -97,8 +97,9 @@ cr.define('login', function() {
* @param {boolean} takeFocus True to take focus.
*/
reset: function(takeFocus) {
- // Reload and show the sign-in UI.
- Oobe.showSigninUI();
+ // Reload and show the sign-in UI if needed.
+ if (takeFocus)
+ Oobe.showSigninUI();
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698