Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: ui/login/account_picker/screen_account_picker.js

Issue 488563002: Desktop user manager focuses correct pod on load. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not focus first pod by default. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/login/OWNERS ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/screen_account_picker.js
diff --git a/ui/login/account_picker/screen_account_picker.js b/ui/login/account_picker/screen_account_picker.js
index 69e922a653ee9aeca38a4dd69b50ef7306f0c5d4..e1dbd6664256dac5ce141dd46b5bf8374038cbd3 100644
--- a/ui/login/account_picker/screen_account_picker.js
+++ b/ui/login/account_picker/screen_account_picker.js
@@ -177,15 +177,6 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
loadUsers: function(users, showGuest) {
$('pod-row').loadPods(users);
$('login-header-bar').showGuestButton = showGuest;
-
- // The desktop User Manager can send the index of a pod that should be
- // initially focused.
- var hash = window.location.hash;
- if (hash) {
- var podIndex = hash.substr(1);
- if (podIndex)
- $('pod-row').focusPodByIndex(podIndex, false);
- }
},
/**
« no previous file with comments | « ui/login/OWNERS ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698