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

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

Issue 2853563002: ONC: Translate EAP from Shill to ONC (Closed)
Patch Set: Test for empty EAP field and cl format 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
Index: chrome/browser/resources/settings/internet_page/network_property_list.js
diff --git a/chrome/browser/resources/settings/internet_page/network_property_list.js b/chrome/browser/resources/settings/internet_page/network_property_list.js
index d64e6225395d45b7563c9c923de695370ae7b790..4046fc43c7b352c89a9706113871e1835ceb02a1 100644
--- a/chrome/browser/resources/settings/internet_page/network_property_list.js
+++ b/chrome/browser/resources/settings/internet_page/network_property_list.js
@@ -109,7 +109,7 @@ Polymer({
return function(key) {
if (this.editFieldTypes.hasOwnProperty(key))
return true;
- var value = this.get(key, this.propertyDict);
+ var value = this.getPropertyValue_(key, this.prefix, this.propertyDict);
tbarzic 2017/05/01 18:05:56 the rest of the private methods pass in prefix, pr
stevenjb 2017/05/01 20:12:04 I'm not sure what the relevance of "the rest of th
tbarzic 2017/05/01 21:04:48 I mean, the relevance is consistency, e.g. isEdita
stevenjb 2017/05/01 21:54:26 Oh, yeah, that's complicated. *Generally* we pref
return value !== undefined && value !== '';
}.bind(this);
},

Powered by Google App Engine
This is Rietveld 408576698