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

Unified Diff: chrome/browser/resources/settings/site_settings/site_details.js

Issue 2226003002: Settings Router Refactor: Remove subpage-back. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « chrome/browser/resources/settings/site_settings/site_details.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/site_details.js
diff --git a/chrome/browser/resources/settings/site_settings/site_details.js b/chrome/browser/resources/settings/site_settings/site_details.js
index 980dc6e3b24b5734ba380a853e4dd9dc03697232..0e659b2457aa9796975062e7ad37c8d7cd29ecfc 100644
--- a/chrome/browser/resources/settings/site_settings/site_details.js
+++ b/chrome/browser/resources/settings/site_settings/site_details.js
@@ -89,7 +89,7 @@ Polymer({
*/
navigateBackIfNoData_: function() {
if (this.storedData_ == '' && !this.permissionShowing_())
- this.fire('subpage-back');
+ settings.navigateTo(settings.Route.SITE_SETTINGS_ALL);
Finnur 2016/08/23 13:04:17 Hmmm... This is a bit problematic... :/ When you
tommycli 2016/08/23 16:35:28 Try changing it to settings.navigateToPreviousRout
},
/**
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_details.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698