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

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

Issue 2459603003: ChromeOS MD-OOBE: Disable duplicate 'connected' events. (Closed)
Patch Set: Created 4 years, 2 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/oobe_welcome.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_welcome.js b/chrome/browser/resources/chromeos/login/oobe_welcome.js
index 3ed95c51933c837cd15224d578d391f9f49df049..da6a134fed61ad7e274e6f45ea85801a03cd61ff 100644
--- a/chrome/browser/resources/chromeos/login/oobe_welcome.js
+++ b/chrome/browser/resources/chromeos/login/oobe_welcome.js
@@ -222,6 +222,9 @@ Polymer({
if (state.GUID != this.networkLastSelectedGuid_)
return;
+ // Duplicate asynchronous event may be delivered to some other screen,
+ // so disable it.
+ this.networkLastSelectedGuid_ = '';
this.onSelectedNetworkConnected_();
},
« 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