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

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

Issue 2300783002: MD Settings: Internet: Cleanup JS (Closed)
Patch Set: Feedback Created 4 years, 3 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.html
diff --git a/chrome/browser/resources/settings/internet_page/network_property_list.html b/chrome/browser/resources/settings/internet_page/network_property_list.html
index d6908b087696b7176dd83fb697b88167c0bf0c05..90bff5fcf0927480cfadd32ff39aaa009ffaf2b6 100644
--- a/chrome/browser/resources/settings/internet_page/network_property_list.html
+++ b/chrome/browser/resources/settings/internet_page/network_property_list.html
@@ -21,17 +21,17 @@
<div>[[getPropertyLabel_(item, prefix)]]</div>
<!-- Uneditable property value -->
<div class="layout horizontal"
- hidden$="[[isEditable_(propertyDict, editFieldTypes, item, '')]]">
- <div class="secondary">[[getPropertyValue_(propertyDict, item)]]</div>
+ hidden$="[[isEditable_(item, '', propertyDict, editFieldTypes)]]">
+ <div class="secondary">[[getPropertyValue_(item, propertyDict)]]</div>
<cr-policy-network-indicator property="[[propertyDict]]">
</cr-policy-network-indicator>
</div>
<!-- Editable string property value -->
<div class="layout horizontal" hidden$="[[!isEditable_(
- propertyDict, editFieldTypes, item, 'String')]]">
+ item, 'String', propertyDict, editFieldTypes)]]">
<paper-input-container no-label-float>
<input class="embedded-input" id="[[item]]" is="iron-input"
- value="[[getPropertyValue_(propertyDict, item)]]"
+ value="[[getPropertyValue_(item, propertyDict)]]"
on-blur="onValueChange_">
</paper-input-container>
</div>

Powered by Google App Engine
This is Rietveld 408576698