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

Unified Diff: chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html

Issue 2653023003: MD Settings: Update some dialogs to accept Enter key. (Closed)
Patch Set: add a test for one of them Created 3 years, 11 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.html
diff --git a/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html b/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html
index a235d6af3dfa4fa2454abbbac91f426eb1f6ce46..0b19bde88ea61736ad4718ea76848289b0c1e41e 100644
--- a/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html
+++ b/chrome/browser/resources/settings/on_startup_page/startup_url_dialog.html
@@ -11,9 +11,8 @@
<dialog is="cr-dialog" id="dialog">
<div class="title">[[dialogTitle_]]</div>
<div class="body">
- <paper-input always-float-label id="url"
- label="$i18n{onStartupSiteUrl}"
- value="{{url_}}" on-input="validate_">
+ <paper-input always-float-label id="url" label="$i18n{onStartupSiteUrl}"
+ value="{{url_}}" on-input="validate_" on-keypress="onKeypress_">
</paper-input>
</div>
<div class="button-container">

Powered by Google App Engine
This is Rietveld 408576698