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

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

Issue 2457633002: [MD settings] collapse cookie details in subpage (Closed)
Patch Set: merge with master Created 4 years, 1 month 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_data_details_subpage.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_data_details_subpage.js
diff --git a/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
index 5118683484ade02d5ead5278ae1d0a7772cc0429..469fbd32e5e2ef16d80818d7869f98e14592c667 100644
--- a/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
+++ b/chrome/browser/resources/settings/site_settings/site_data_details_subpage.js
@@ -72,6 +72,8 @@ Polymer({
if (node) {
this.site_ = node;
this.entries_ = this.site_.getCookieList();
+ // Set up flag for expanding cookie details.
+ this.entries_.map(function(e) { return e.expanded_ = false; });
} else {
this.entries_ = [];
}
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_data_details_subpage.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698