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

Unified Diff: chrome/browser/resources/md_user_manager/import_supervised_user.js

Issue 1989993002: MD User Manager: Default focused element in add person page and import user dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/md_user_manager/create_profile.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/md_user_manager/import_supervised_user.js
diff --git a/chrome/browser/resources/md_user_manager/import_supervised_user.js b/chrome/browser/resources/md_user_manager/import_supervised_user.js
index 59ed0a2963507351deb164113b5f39885538b1b7..f50131d2c0da815aada7b53c5cddc1758e8039a3 100644
--- a/chrome/browser/resources/md_user_manager/import_supervised_user.js
+++ b/chrome/browser/resources/md_user_manager/import_supervised_user.js
@@ -77,6 +77,10 @@ Polymer({
this.signedInUser_ = signedInUser || null;
if (this.signedInUser_)
this.popupHidden_ = false;
+
+ this.async(function() {
+ this.$$('paper-listbox').focus();
+ }.bind(this));
},
/**
« no previous file with comments | « chrome/browser/resources/md_user_manager/create_profile.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698