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

Unified Diff: chrome/browser/resources/options/manage_profile_overlay.html

Issue 7845004: [Multi Profile] Don't allow the user to choose an empty profile name. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merge + fix nit Created 9 years, 3 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/options/manage_profile_overlay.html
diff --git a/chrome/browser/resources/options/manage_profile_overlay.html b/chrome/browser/resources/options/manage_profile_overlay.html
index 74422c4f82319597a0c68f669d6fad368c36c957..afc48019e96ca505b7252d9376f9dc2ea133eb05 100644
--- a/chrome/browser/resources/options/manage_profile_overlay.html
+++ b/chrome/browser/resources/options/manage_profile_overlay.html
@@ -6,10 +6,9 @@
<div id="manage-profile-name-div">
<span id="manage-profile-name-label"
i18n-content="manageProfilesNameLabel"></span>
- <input id="manage-profile-name" type="text">
+ <input id="manage-profile-name" type="text" required>
</div>
- <div id="manage-profile-duplicate-name-error"
- class="hiding" i18n-content="manageProfilesDuplicateNameError">
+ <div id="manage-profile-error-bubble" hidden>
</div>
<div id="manage-profile-icon-label"
i18n-content="manageProfilesIconLabel"></div>

Powered by Google App Engine
This is Rietveld 408576698