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

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

Issue 2705803002: chromeos oobe: onNetworkConnected_ is not a function (Closed)
Patch Set: Update after review. Created 3 years, 10 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 88fb183bc21116fa98d983ef6deca8787a5e2ce2..6ef0834f7b23f17a9b017758b45a3870f4bd5581 100644
--- a/chrome/browser/resources/chromeos/login/oobe_welcome.js
+++ b/chrome/browser/resources/chromeos/login/oobe_welcome.js
@@ -366,13 +366,10 @@ Polymer({
if (!lastError)
return;
- if (lastError.message == 'connected') {
- self.onNetworkConnected_({'detail': networkStateCopy});
+ if (lastError.message == 'connected' || lastError.message == 'connecting')
return;
- }
- if (lastError.message != 'connecting')
- console.error('networkingPrivate.startConnect error: ' + lastError);
+ console.error('networkingPrivate.startConnect error: ' + lastError);
});
},
« 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