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

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engines_page.js

Issue 2793463002: MD Settings: Restore focus after closing various dialogs. (Closed)
Patch Set: Nits. 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
« no previous file with comments | « chrome/browser/resources/settings/search_engines_page/search_engine_entry.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/search_engines_page/search_engines_page.js
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engines_page.js b/chrome/browser/resources/settings/search_engines_page/search_engines_page.js
index a9379bfc6f1d5d9604cad96c940ad65f5a2e00ed..982050dbe710433506fa94ebbf77d0f437ab8edc 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engines_page.js
+++ b/chrome/browser/resources/settings/search_engines_page/search_engines_page.js
@@ -82,6 +82,7 @@ Polymer({
// previous dialog's contents are cleared.
dialog.addEventListener('close', function() {
this.showAddSearchEngineDialog_ = false;
+ this.$.addSearchEngine.focus();
}.bind(this));
}.bind(this));
},
« no previous file with comments | « chrome/browser/resources/settings/search_engines_page/search_engine_entry.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698