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 e2e64250338e286e2fb535e68c46df7359614947..5f093128235095598812c0d1c6fe9cf51ad07462 100644 |
--- a/chrome/browser/resources/options2/certificate_manager.js |
+++ b/chrome/browser/resources/options2/certificate_manager.js |
@@ -116,12 +116,13 @@ cr.define('options', function() { |
updateButtonState: function(data) { |
var isCert = !!data && data.id.substr(0, 5) == 'cert-'; |
var readOnly = !!data && data.readonly; |
+ var extractable = !!data && data.extractable; |
var hasChildren = this.tree.items.length > 0; |
this.viewButton.disabled = !isCert; |
if (this.editButton !== null) |
this.editButton.disabled = !isCert; |
if (this.backupButton !== null) |
- this.backupButton.disabled = !isCert; |
+ this.backupButton.disabled = !isCert || !extractable; |
if (this.backupAllButton !== null) |
this.backupAllButton.disabled = !hasChildren; |
if (this.exportButton !== null) |