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

Unified Diff: chrome/browser/resources/settings/on_startup_page/startup_url_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/on_startup_page/startup_url_dialog.js
diff --git a/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.js b/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.js
index 3b576580d14f9adcebf3369dbd2b61f3394e0642..706bf18fcb542a61094cfdc987d8133eea394bd0 100644
--- a/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.js
+++ b/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.js
@@ -67,15 +67,6 @@ Polymer({
}.bind(this));
},
- /**
- * @param {!KeyboardEvent} e
- * @private
- */
- onKeypress_: function(e) {
- if (e.key == 'Enter' && !this.$.actionButton.disabled)
- this.onActionButtonTap_();
- },
-
/** @private */
validate_: function() {
this.browserProxy_.validateStartupPage(this.url_).then(function(isValid) {

Powered by Google App Engine
This is Rietveld 408576698