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

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

Issue 10827118: Hide network tab on details dialog for VPN networks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/options2/chromeos/internet_detail.js
diff --git a/chrome/browser/resources/options2/chromeos/internet_detail.js b/chrome/browser/resources/options2/chromeos/internet_detail.js
index 3d71534281bd2fdb1876a81e66963e4af1f3d7a5..da29f1a8a599a0efcd809dce529b9a287abf094a 100644
--- a/chrome/browser/resources/options2/chromeos/internet_detail.js
+++ b/chrome/browser/resources/options2/chromeos/internet_detail.js
@@ -304,7 +304,7 @@ cr.define('options.internet', function() {
/* Network information merged into the Wifi tab for wireless networks
unless the option is set for enabling a static IP configuration. */
updateHidden('#details-internet-page .network-details',
- this.wireless && !this.showStaticIPConfig);
+ (this.wireless && !this.showStaticIPConfig) || this.vpn);
updateHidden('#details-internet-page .wifi-network-setting',
this.showStaticIPConfig);
« 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