Commit 1c983128 authored by Andrei Salavei's avatar Andrei Salavei Committed by Commit Bot

Focus email input after back action on Dent flows

Focus email input after back button action on EDU and Inline Login
sign-in flows.

Bug: 1004243
Change-Id: I8021da9d11296040416da2d48a69d0dc136620a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207452Reviewed-by: default avatarKush Sinha <sinhak@chromium.org>
Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Andrei Salavei <solovey@google.com>
Cr-Commit-Position: refs/heads/master@{#771559}
parent 77280ce8
......@@ -153,6 +153,7 @@ Polymer({
navigateBackInWebview_() {
if (this.$.signinFrame.canGoBack()) {
this.$.signinFrame.back();
this.$.signinFrame.focus();
} else {
// Reload the webview. It allows users to go back and try to add another
// account if something goes wrong in the webview (e.g. SAML server
......
......@@ -148,6 +148,7 @@ cr.define('inline.login', function() {
function navigateBackInWebview() {
if ($('signin-frame').canGoBack()) {
$('signin-frame').back();
$('signin-frame').focus();
} else {
closeDialog();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment