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

Unified Diff: chrome/browser/resources/settings/people_page/import_data_dialog.js

Issue 2769383002: Firefox overlay is seen opened even if Import Overlay is Cancelled.
Patch Set: Addressing Review Comments 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
Index: chrome/browser/resources/settings/people_page/import_data_dialog.js
diff --git a/chrome/browser/resources/settings/people_page/import_data_dialog.js b/chrome/browser/resources/settings/people_page/import_data_dialog.js
index d98afd2bcb240f63226b5bee2f75307b3bd98205..bb58464483782aa14586da7ba585c19e2894ad8d 100644
--- a/chrome/browser/resources/settings/people_page/import_data_dialog.js
+++ b/chrome/browser/resources/settings/people_page/import_data_dialog.js
@@ -129,6 +129,9 @@ Polymer({
/** @private */
closeDialog_: function() {
+ // It's possible for the user to close the import dialog while a
+ // sub-dialog is still showing. Make sure to close that sub-dialog as well.
+ this.browserProxy_.closeImportLockDialog();
this.$.dialog.close();
},

Powered by Google App Engine
This is Rietveld 408576698