Index: chrome/browser/resources/gaia_auth/main.js |
diff --git a/chrome/browser/resources/gaia_auth/main.js b/chrome/browser/resources/gaia_auth/main.js |
index bb349f3bde5d2435a34a4a8878e5ed9e7f0aa1a6..5e4d6dbf0c786c9897716ccdae18e30ef2bbd003 100644 |
--- a/chrome/browser/resources/gaia_auth/main.js |
+++ b/chrome/browser/resources/gaia_auth/main.js |
@@ -231,7 +231,11 @@ Authenticator.prototype = { |
}; |
window.parent.postMessage(msg, this.parentPage_); |
if (this.inlineMode_) { |
- $('gaia-frame').focus(); |
+ var gaiaFrame = $('gaia-frame'); |
+ gaiaFrame.focus(); |
+ gaiaFrame.onblur = function() { |
+ gaiaFrame.focus(); |
xiyuan
2014/01/07 21:49:48
Would this has side effect? e.g. what happens user
guohui
2014/01/07 22:15:02
the only side effect i have observed is that upon
|
+ }; |
} |
this.loaded_ = true; |
}, |