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

Unified Diff: chrome/browser/resources/options/chromeos/internet_detail.js

Issue 647713004: Fix 'Automatic name servers' display in Settings' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/options/chromeos/internet_detail.js
diff --git a/chrome/browser/resources/options/chromeos/internet_detail.js b/chrome/browser/resources/options/chromeos/internet_detail.js
index fbbbb3579a6ae4e6401fc33d880ece1dcbe5add4..2ca8f596f1d2c6c7a7f8d3371b19f67fd8d26ab0 100644
--- a/chrome/browser/resources/options/chromeos/internet_detail.js
+++ b/chrome/browser/resources/options/chromeos/internet_detail.js
@@ -1377,7 +1377,10 @@ cr.define('options.internet', function() {
else if (staticNameServersString == inetNameServersString)
nameServerType = 'user';
}
- $('automatic-dns-display').textContent = inetNameServersString;
+ if (nameServerType == 'automatic')
+ $('automatic-dns-display').textContent = inetNameServersString;
+ else
+ $('automatic-dns-display').textContent = savedNameServersString;
$('google-dns-display').textContent = GoogleNameServersString;
var nameServersUser = [];
« 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