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

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: Incorportaed Review Comments. Created 3 years, 9 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..2dce8f4eb0fca295ae98bc587ae5bb7053d6eab1 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.
Ilya Sherman 2017/03/30 22:14:32 nit: Please make sure there's a space following "/
nikhil.sahni 2017/03/31 15:21:25 Done.
+ this.browserProxy_.closeImportLockDialog();
this.$.dialog.close();
},

Powered by Google App Engine
This is Rietveld 408576698