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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/ca_trust_edit_dialog.js

Issue 2792663002: MD Settings: Restore focus after closing dialogs, for certificate page. (Closed)
Patch Set: Add better explanation for |anchor| parameter in openDialog_ Created 3 years, 8 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/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3045cc6f3cbb66f1793c1bff98cc22887fea374a..5b5114d6ca75df9d29de176dc98a4835afe1d70a 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
@@ -73,7 +73,7 @@ Polymer({
/** @param {!CertificatesError} error */
function(error) {
/** @type {!CrDialogElement} */ (this.$.dialog).close();
- this.fire('certificates-error', error);
+ this.fire('certificates-error', {error: error, anchor: null});
}.bind(this));
},
});
« no previous file with comments | « no previous file | chrome/browser/resources/settings/certificate_manager_page/certificate_delete_confirmation_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698