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

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

Issue 7133001: Don't put chrome://settings/detailsInternetPage in address bar and history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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_options.js
diff --git a/chrome/browser/resources/options/chromeos/internet_options.js b/chrome/browser/resources/options/chromeos/internet_options.js
index 0e11b607fbaea640721ce6d9c464b372523b2f62..9777f359217bbcef6a3ad768449cf74d6b02ea96 100644
--- a/chrome/browser/resources/options/chromeos/internet_options.js
+++ b/chrome/browser/resources/options/chromeos/internet_options.js
@@ -498,7 +498,9 @@ cr.define('options', function() {
detailsPage.cellular = false;
detailsPage.gsm = false;
}
- OptionsPage.navigateToPage('detailsInternetPage');
+ // Don't show page name in address bar and in history to prevent people
+ // navigate here by hand and solve issue with page session restore.
+ OptionsPage.showPageByName('detailsInternetPage', false);
};
// Export
« 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