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

Unified Diff: chrome/browser/resources/settings/site_settings/edit_exception_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/site_settings/edit_exception_dialog.js
diff --git a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
index da0842c9080b592a943e3ad4a1e05425d739cf16..bc5cc80243014c250b17c70c493a15db63e53a58 100644
--- a/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/edit_exception_dialog.js
@@ -66,15 +66,6 @@ Polymer({
this.$.dialog.close();
},
- /**
- * @param {!KeyboardEvent} e
- * @private
- */
- onKeypress_: function(e) {
- if (e.key == 'Enter' && !this.$.actionButton.disabled)
- this.onActionButtonTap_();
- },
-
/** @private */
validate_: function() {
if (this.$$('paper-input').value.trim() == '') {

Powered by Google App Engine
This is Rietveld 408576698