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

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

Issue 2769863002: MD Bookmarks: Validate URL input when editing a bookmark (Closed)
Patch Set: Rebase 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 0808848a07087da11fb11f0752aa798bb2b059b7..b2f23a32035023f3bdadd3091049eaad229f760f 100644
--- a/chrome/browser/resources/md_bookmarks/edit_dialog.html
+++ b/chrome/browser/resources/md_bookmarks/edit_dialog.html
@@ -18,9 +18,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">
« no previous file with comments | « chrome/browser/resources/md_bookmarks/compiled_resources2.gyp ('k') | chrome/browser/resources/md_bookmarks/edit_dialog.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698