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

Unified Diff: chrome/browser/resources/settings/internet_page/network_proxy.js

Issue 2817803002: MD Settings: CrOS: Focus elements on dialog close (Closed)
Patch Set: rebase 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/internet_page/network_proxy.js
diff --git a/chrome/browser/resources/settings/internet_page/network_proxy.js b/chrome/browser/resources/settings/internet_page/network_proxy.js
index 9e96db902cf9d7fd0e9f4c13a80b4076da7cf184..fd1cacef58d85c305a07c6dc64b5561e8d36fb2d 100644
--- a/chrome/browser/resources/settings/internet_page/network_proxy.js
+++ b/chrome/browser/resources/settings/internet_page/network_proxy.js
@@ -479,4 +479,9 @@ Polymer({
.resetToPrefValue();
this.$.confirmAllowSharedDialog.close();
},
+
+ /** @private */
+ onAllowSharedDialogClose_: function() {
+ this.$$('#allowShared').focus();
+ },
});

Powered by Google App Engine
This is Rietveld 408576698