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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 664473005: Hide second 'Details' link on extensions page if App Info dialog used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Rebase Created 6 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 | « no previous file | chrome/browser/resources/extensions/extensions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index 929bcb15c36af242c016abbb14152aa5f9c3048b..633d3f3c5508efc1aa396774744296268be5b8f1 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -317,6 +317,12 @@ cr.define('options', function() {
siteLink.hidden = false;
}
+ // If the ExtensionInfoDialog is enabled, hide the site link (since it's
+ // available from within the dialog anyway).
+ if (extension.enableExtensionInfoDialog) {
+ siteLink.hidden = true;
+ }
+
if (extension.allow_reload) {
// The 'Reload' link.
var reload = node.querySelector('.reload-link');
« no previous file with comments | « no previous file | chrome/browser/resources/extensions/extensions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698