Index: ui/login/account_picker/user_pod_row.js |
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js |
index d4fd53a524e08184975591c09a676f8f5b18ab97..e3e4be1f0714b27b2e150ef2ceb18eaca21a4399 100644 |
--- a/ui/login/account_picker/user_pod_row.js |
+++ b/ui/login/account_picker/user_pod_row.js |
@@ -988,6 +988,14 @@ cr.define('login', function() { |
}, |
/** |
+ * Gets the warning triangle element. |
+ * @type {!HTMLDivElement} |
+ */ |
+ get reauthWarningElement() { |
+ return this.querySelector('.reauth-warning'); |
+ }, |
+ |
+ /** |
* Updates the user pod element. |
*/ |
update: function() { |
@@ -1000,6 +1008,12 @@ cr.define('login', function() { |
if (this.isAuthTypeUserClick) |
this.passwordLabelElement.textContent = this.authValue; |
+ if (this.isAuthTypeOnlineSignIn) { |
+ this.reauthWarningElement.style.display = 'inline-flex'; |
dzhioev (left Google)
2015/06/22 23:51:25
Why not this.reauthWarningElementHidden = this.isA
|
+ } else { |
+ this.reauthWarningElement.style.display = 'none'; |
+ } |
+ |
this.updateActionBoxArea(); |
this.passwordElement.setAttribute('aria-label', loadTimeData.getStringF( |