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

Unified Diff: chrome/browser/resources/options2/certificate_manager.js

Issue 10700195: Fix certificate manager buttons never becoming clickable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | « no previous file | chrome/browser/resources/options2/certificate_tree.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options2/certificate_manager.js
diff --git a/chrome/browser/resources/options2/certificate_manager.js b/chrome/browser/resources/options2/certificate_manager.js
index 5f093128235095598812c0d1c6fe9cf51ad07462..480b8e12711e9ca1c6a02635ab320d2fad5ffe8e 100644
--- a/chrome/browser/resources/options2/certificate_manager.js
+++ b/chrome/browser/resources/options2/certificate_manager.js
@@ -114,7 +114,7 @@ cr.define('options', function() {
* @param {!Object} data The data of the selected item.
*/
updateButtonState: function(data) {
- var isCert = !!data && data.id.substr(0, 5) == 'cert-';
+ var isCert = !!data && data.isCert;
var readOnly = !!data && data.readonly;
var extractable = !!data && data.extractable;
var hasChildren = this.tree.items.length > 0;
« no previous file with comments | « no previous file | chrome/browser/resources/options2/certificate_tree.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698