diff options
author | treib <treib@chromium.org> | 2015-11-17 00:45:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-17 08:46:15 +0000 |
commit | 36d442b924c47292a7e2c1ca44e4f4ec1c65c3d9 (patch) | |
tree | 730f0ea730887b8d7e122e5a59774547f7c00eea /ui/login/account_picker/user_pod_row.js | |
parent | 936f5a557185a10e167516bcd6af441c5ba57476 (diff) | |
download | chromium_src-36d442b924c47292a7e2c1ca44e4f4ec1c65c3d9.zip chromium_src-36d442b924c47292a7e2c1ca44e4f4ec1c65c3d9.tar.gz chromium_src-36d442b924c47292a7e2c1ca44e4f4ec1c65c3d9.tar.bz2 |
Fix missing supervised user delete message on CrOS
This was broken in http://crrev.com/1248613003, which replaced JS code to show/hide the message with CSS selectors based on the 'legacy-supervised' class.
However, that class was only used on desktop, not on CrOS.
This CL is a minimal fix, for merging to M48: Set this particular class also on CrOS.
Longer-term, it would be nice to clean up the user pod stuff to be less different on CrOS vs desktop...
BUG=546183
Review URL: https://codereview.chromium.org/1446193002
Cr-Commit-Position: refs/heads/master@{#360037}
Diffstat (limited to 'ui/login/account_picker/user_pod_row.js')
-rw-r--r-- | ui/login/account_picker/user_pod_row.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js index 5c9a1c5..35f39fd 100644 --- a/ui/login/account_picker/user_pod_row.js +++ b/ui/login/account_picker/user_pod_row.js @@ -1028,6 +1028,7 @@ cr.define('login', function() { this.setUserPodIconType('child'); } else if (this.user_.legacySupervisedUser && !this.user_.isDesktopUser) { this.setUserPodIconType('legacySupervised'); + this.classList.add('legacy-supervised'); } else if (this.multiProfilesPolicyApplied) { // Mark user pod as not focusable which in addition to the grayed out // filter makes it look in disabled state. |