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

Unified Diff: chrome/browser/resources/md_bookmarks/edit_dialog.html

Issue 2769863002: MD Bookmarks: Validate URL input when editing a bookmark (Closed)
Patch Set: Created 3 years, 9 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/md_bookmarks/edit_dialog.html
diff --git a/chrome/browser/resources/md_bookmarks/edit_dialog.html b/chrome/browser/resources/md_bookmarks/edit_dialog.html
index 7361e1550f4c3df6bef9919ea288c45ffadc57c7..9b9de00b6acd59814493ec16b84bf6dd3e5641d8 100644
--- a/chrome/browser/resources/md_bookmarks/edit_dialog.html
+++ b/chrome/browser/resources/md_bookmarks/edit_dialog.html
@@ -17,9 +17,12 @@
autofocus>
</paper-input>
<paper-input always-float-label id="url"
+ type="url"
label="$i18n{editDialogUrlInput}"
+ error-message="$i18n{editDialogInvalidUrl}"
value="{{urlValue_}}"
- hidden$="[[isFolder_]]">
+ hidden$="[[isFolder_]]"
+ required>
</paper-input>
</div>
<div class="button-container">

Powered by Google App Engine
This is Rietveld 408576698