Commit 29070b7e authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

Settings WebUI: password export dialog, send close event after any open dialog is removed from dom

Bug: 910488
Change-Id: I566c42a2a6141d963b538208a400b38fcdc64e4e
Reviewed-on: https://chromium-review.googlesource.com/c/1359292
Commit-Queue: Esmael El-Moslimany <aee@chromium.org>
Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613386}
parent bd96d0b9
...@@ -171,7 +171,9 @@ Polymer({ ...@@ -171,7 +171,9 @@ Polymer({
this.showStartDialog_ = false; this.showStartDialog_ = false;
this.showProgressDialog_ = false; this.showProgressDialog_ = false;
this.showErrorDialog_ = false; this.showErrorDialog_ = false;
this.fire('passwords-export-dialog-close'); // Need to allow for the dialogs to be removed from the DOM before firing
// the close event. Otherwise the handler will not be able to set focus.
this.async(() => this.fire('passwords-export-dialog-close'));
}, },
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment