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

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 Created 4 years, 2 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_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 2d3f57bcd6d5b59e9244863849a5fed6571a0bc7..c54dc36430119d3ef5819c9c6f3593976da4180f 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
@@ -79,6 +79,8 @@ Polymer({
if (node) {
this.site_ = node;
this.entries_ = this.site_.getCookieList();
+ // Setup flag for expanding cookie details.
Dan Beam 2016/10/27 23:37:15 Set up
dschuyler 2016/11/02 21:19:33 Done.
+ this.entries_.map(function(x) { return x.expanded_ = false; });
Dan Beam 2016/10/27 23:37:15 why x instead of like e?
dschuyler 2016/11/02 21:19:33 Done.
} 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