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

Unified Diff: chrome/browser/resources/settings/people_page/password_prompt_dialog.js

Issue 2795353002: WebUI: For cr-dialog, handle Enter keys in paper-inputs. (Closed)
Patch Set: update tests Created 3 years, 8 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
Index: chrome/browser/resources/settings/people_page/password_prompt_dialog.js
diff --git a/chrome/browser/resources/settings/people_page/password_prompt_dialog.js b/chrome/browser/resources/settings/people_page/password_prompt_dialog.js
index 0ff12bbb62bfcd541e3a35df50a34ad42d94609b..96be633de90375b467f384779894df24812373fa 100644
--- a/chrome/browser/resources/settings/people_page/password_prompt_dialog.js
+++ b/chrome/browser/resources/settings/people_page/password_prompt_dialog.js
@@ -126,12 +126,6 @@ Polymer({
this.password_ = '';
},
- /** @private */
- onKeydown_: function(e) {
- if (e.key == 'Enter')
- this.submitPassword_();
- },
-
/**
* Run the account password check.
* @private

Powered by Google App Engine
This is Rietveld 408576698