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

Unified Diff: chrome/browser/resources/md_user_manager/create_profile.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 | « no previous file | chrome/browser/resources/md_user_manager/import_supervised_user.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_user_manager/create_profile.js
diff --git a/chrome/browser/resources/md_user_manager/create_profile.js b/chrome/browser/resources/md_user_manager/create_profile.js
index 390954baa2c99903a122caf21ed8c9b113cc62aa..8f5a151ac19788caea00da8ec331dea897d069f4 100644
--- a/chrome/browser/resources/md_user_manager/create_profile.js
+++ b/chrome/browser/resources/md_user_manager/create_profile.js
@@ -137,6 +137,11 @@ Polymer({
this.browserProxy_.getSignedInUsers();
},
+ /** @override */
+ attached: function() {
+ this.$.nameInput.focus();
+ },
+
/**
* Handles tap events from:
* - links within dynamic warning/error messages pushed from the browser.
« no previous file with comments | « no previous file | chrome/browser/resources/md_user_manager/import_supervised_user.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698