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

Side by Side Diff: ui/login/account_picker/user_pod_row.js

Issue 2365943002: cros: Minor issues regarding submit button and tabbing on user pod fixed. (Closed)
Patch Set: Nit. Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/login/account_picker/user_pod_template.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview User pod row implementation. 6 * @fileoverview User pod row implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 /** 10 /**
(...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 }, 1435 },
1436 1436
1437 /** 1437 /**
1438 * Resets the input field and updates the tab order of pod controls. 1438 * Resets the input field and updates the tab order of pod controls.
1439 * @param {boolean} takeFocus If true, input field takes focus. 1439 * @param {boolean} takeFocus If true, input field takes focus.
1440 */ 1440 */
1441 reset: function(takeFocus) { 1441 reset: function(takeFocus) {
1442 this.passwordElement.value = ''; 1442 this.passwordElement.value = '';
1443 if (this.pinKeyboard) 1443 if (this.pinKeyboard)
1444 this.pinKeyboard.value = ''; 1444 this.pinKeyboard.value = '';
1445 this.updateInput_();
1445 this.classList.toggle('signing-in', false); 1446 this.classList.toggle('signing-in', false);
1446 if (takeFocus) { 1447 if (takeFocus) {
1447 if (!this.multiProfilesPolicyApplied) 1448 if (!this.multiProfilesPolicyApplied)
1448 this.focusInput(); // This will set a custom tab order. 1449 this.focusInput(); // This will set a custom tab order.
1449 } 1450 }
1450 else 1451 else
1451 this.resetTabOrder(); 1452 this.resetTabOrder();
1452 }, 1453 },
1453 1454
1454 /** 1455 /**
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after
3650 if (pod && pod.multiProfilesPolicyApplied) { 3651 if (pod && pod.multiProfilesPolicyApplied) {
3651 pod.userTypeBubbleElement.classList.remove('bubble-shown'); 3652 pod.userTypeBubbleElement.classList.remove('bubble-shown');
3652 } 3653 }
3653 } 3654 }
3654 }; 3655 };
3655 3656
3656 return { 3657 return {
3657 PodRow: PodRow 3658 PodRow: PodRow
3658 }; 3659 };
3659 }); 3660 });
OLDNEW
« no previous file with comments | « no previous file | ui/login/account_picker/user_pod_template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698