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

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

Issue 698023004: Reposition the "invalid password" bubble if the User Manager is resized. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | 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 865d64d3c88f5650193507429543cd5d70e94b23..ef384402b71d37bd9ab7235910ca375645403454 100644
--- a/ui/login/account_picker/screen_account_picker.js
+++ b/ui/login/account_picker/screen_account_picker.js
@@ -54,6 +54,11 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
/** @override */
onWindowResize: function() {
$('pod-row').onWindowResize();
+
+ // Reposition the error bubble, if there is one. Since we are just
+ // moving the bubble, the number of login attempts tried doesn't matter.
+ if ($('bubble'))
+ this.showErrorBubble(0, undefined /* Reuses the existing message. */);
},
/**
@@ -348,4 +353,3 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
}
};
});
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698