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

Unified Diff: chrome/browser/resources/settings/internet_page/internet_detail_page.js

Issue 2820133002: MD Settings: Network: WiMax: Enable configure (Closed)
Patch Set: Created 3 years, 8 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/settings/internet_page/internet_detail_page.js
diff --git a/chrome/browser/resources/settings/internet_page/internet_detail_page.js b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
index a4554161aa1871bf861350401ba40747d82675f8..760db46b12bb8dc04ce4cc261f140da8efee0e0e 100644
--- a/chrome/browser/resources/settings/internet_page/internet_detail_page.js
+++ b/chrome/browser/resources/settings/internet_page/internet_detail_page.js
@@ -441,9 +441,9 @@ Polymer({
if (this.connectNotAllowed_(networkProperties, globalPolicy))
return false;
var type = networkProperties.Type;
- if (type == CrOnc.Type.CELLULAR || type == CrOnc.Type.WI_MAX)
+ if (type == CrOnc.Type.CELLULAR)
return false;
- if (type == CrOnc.Type.WI_FI &&
+ if ((type == CrOnc.Type.WI_FI || type == CrOnc.Type.WI_MAX) &&
networkProperties.ConnectionState !=
CrOnc.ConnectionState.NOT_CONNECTED) {
return false;
« 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