Index: chrome/browser/resources/options/origin_resources_list.js |
diff --git a/chrome/browser/resources/options/origin_resources_list.js b/chrome/browser/resources/options/origin_resources_list.js |
index 81b6252478e21ff2b91b37bca4674c87aa3bfe21..bfb3643cf1979569cc80b61055a6448a769c0f8e 100644 |
--- a/chrome/browser/resources/options/origin_resources_list.js |
+++ b/chrome/browser/resources/options/origin_resources_list.js |
@@ -34,9 +34,14 @@ cr.define('options', function() { |
var titleEl = this.ownerDocument.createElement('div'); |
titleEl.className = 'title favicon-cell weaktrl'; |
titleEl.textContent = this.origin_; |
+ titleEl.originPattern = this.origin_; |
titleEl.style.backgroundImage = getFaviconImageSet(this.origin_); |
this.contentElement_.appendChild(titleEl); |
+ this.contentElement_.onclick = function() { |
+ chrome.send('maybeShowEditPage', [titleEl.originPattern]); |
+ }; |
+ |
if (this.usageString_) { |
var usageEl = this.ownerDocument.createElement('span'); |
usageEl.className = 'local-storage-usage'; |