Commit 75c42259 authored by guohui@chromium.org's avatar guohui@chromium.org

Fix focus loss on chrome signin page

BUG=331733

Review URL: https://codereview.chromium.org/125863003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243651 0039d316-1c4b-4281-b951-d872f2087c98
parent b02871bc
......@@ -231,7 +231,13 @@ Authenticator.prototype = {
};
window.parent.postMessage(msg, this.parentPage_);
if (this.inlineMode_) {
$('gaia-frame').focus();
// TODO(guohui): temporary workaround until webview team fixes the focus
// on their side.
var gaiaFrame = $('gaia-frame');
gaiaFrame.focus();
gaiaFrame.onblur = function() {
gaiaFrame.focus();
};
}
this.loaded_ = true;
},
......
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