Chromium Code Reviews| Index: chrome/browser/resources/settings/people_page/password_prompt_dialog.js |
| diff --git a/chrome/browser/resources/settings/people_page/password_prompt_dialog.js b/chrome/browser/resources/settings/people_page/password_prompt_dialog.js |
| index 96be633de90375b467f384779894df24812373fa..b234939aadc466d9ace73794e146106f38f21638 100644 |
| --- a/chrome/browser/resources/settings/people_page/password_prompt_dialog.js |
| +++ b/chrome/browser/resources/settings/people_page/password_prompt_dialog.js |
| @@ -110,6 +110,9 @@ Polymer({ |
| this.writeUma_(LockScreenProgress.START_SCREEN_LOCK); |
| this.$.dialog.showModal(); |
| + this.async(function() { |
| + this.$.passwordInput.shadowRoot.querySelector('#input').focus(); |
|
sammiequon
2017/04/14 17:22:07
This is kind of messy but the JS guide doesn't all
stevenjb
2017/04/14 21:47:20
If this.$.passwordInput.focus() doesn't work that
stevenjb
2017/04/14 21:51:30
Oh, actually, I think your problem may be that thi
sammiequon
2017/04/14 22:11:43
That doesn't seem to work, it has the same behavio
stevenjb
2017/04/14 22:29:02
Hmm, I think we need to investigate that then. Que
sammiequon
2017/04/14 23:48:13
Acknowledged. Let me see if I can find a better ap
|
| + }.bind(this)); |
| }, |
| /** @private */ |