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

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

Issue 10808114: Merge 146920 - Fix certificate manager buttons never becoming clickable. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: 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
===================================================================
--- chrome/browser/resources/options2/certificate_manager.js (revision 148228)
+++ chrome/browser/resources/options2/certificate_manager.js (working copy)
@@ -114,7 +114,7 @@
* @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