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

Unified Diff: chrome/browser/resources/options/password_manager.js

Issue 2154223002: Hide the DIV containing password import/export buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/options/password_manager.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/options/password_manager.js
diff --git a/chrome/browser/resources/options/password_manager.js b/chrome/browser/resources/options/password_manager.js
index 0cf7d229b8fc23ff56046ded0c93bb4c12c16cef..6c79c51936c2a7550fba04bdfc0584a953e03f2d 100644
--- a/chrome/browser/resources/options/password_manager.js
+++ b/chrome/browser/resources/options/password_manager.js
@@ -289,8 +289,7 @@ cr.define('options', function() {
/** @private */
showImportExportButton_: function() {
- $('password-manager-import').hidden = false;
- $('password-manager-export').hidden = false;
+ $('password-manager-import-export').style.display = '-webkit-box';
vabr (Chromium) 2016/07/18 14:07:17 -webkit-box is what the action-area class in ui/we
stevenjb 2016/07/18 15:27:18 Instead can you toggle a class, e.g. 'noDisplay' a
vabr (Chromium) 2016/07/18 15:53:10 Good idea, done. If you prefer "noDisplay" to the
stevenjb 2016/07/18 16:34:33 Since there is already a global 'hidden' attribute
vabr (Chromium) 2016/07/19 08:16:57 Acknowledged. (Would implement that, but your othe
},
};
« no previous file with comments | « chrome/browser/resources/options/password_manager.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698