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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.js

Issue 2116123002: MD Settings: fix clear browsing data dialog (again) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/settings/privacy_page/privacy_page.js
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
index f8a2b7a5644efa698c991bcacf32f62a9fed4dd0..afdd7b4a2c66209cbf987691dffaf01574ae09d4 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -79,9 +79,9 @@ Polymer({
/** @private */
onClearBrowsingDataTap_: function() {
this.currentRoute = {
- page: this.currentRoute.page,
- section: this.currentRoute.section,
- subpage: this.currentRoute.subpage,
+ page: 'advanced',
+ section: 'privacy',
+ subpage: [],
dialog: 'clear-browsing-data',
};
},
@@ -95,9 +95,9 @@ Polymer({
return;
this.currentRoute = {
- page: this.currentRoute.page,
- section: this.currentRoute.section,
- subpage: this.currentRoute.subpage,
+ page: 'advanced',
+ section: 'privacy',
+ subpage: [],
// Drop dialog key.
};
},
« 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