Chromium Code Reviews| Index: chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js |
| diff --git a/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js |
| index 019f8fd85d5ec5605e60c2f1911e407e69e3ab3c..8160fc87c8d3dc61f0a07b7cf7067b680bb4b00b 100644 |
| --- a/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js |
| +++ b/chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js |
| @@ -61,7 +61,9 @@ Polymer({ |
| }.bind(this), |
| /** @param {!CertificatesError} error */ |
| function(error) { |
|
tommycli
2016/03/23 19:28:04
Nit: Can we redo the indentation on this a bit?
I
dpapad
2016/03/24 22:06:10
Can you suggest an alternative indentation that wo
tommycli
2016/03/24 22:34:14
Does this work? I realize it's a great deal of ind
dpapad
2016/03/25 17:36:03
Done.
|
| - // TODO(dpapad): Display error here. |
| - }); |
| + this.$.dialog.close(); |
| + this.dispatchEvent( |
|
tommycli
2016/03/23 19:28:04
Any particular reason we're using dispatchEvent he
dpapad
2016/03/24 22:06:10
Changed all of them to fire() for consistency.
Th
tommycli
2016/03/24 22:34:14
Arg... that's unfortunate. I'm not so sure about m
|
| + new CustomEvent('certificates-error', {detail: error})); |
| + }.bind(this)); |
| }, |
| }); |