| Index: chrome/browser/resources/options/manage_profile_overlay.js
|
| diff --git a/chrome/browser/resources/options/manage_profile_overlay.js b/chrome/browser/resources/options/manage_profile_overlay.js
|
| index 0a4a5b56a41140dfe9fb2514d22ce28d154cb693..7cf21c4014d27f0b4f50c5e9cacc3f33b580f852 100644
|
| --- a/chrome/browser/resources/options/manage_profile_overlay.js
|
| +++ b/chrome/browser/resources/options/manage_profile_overlay.js
|
| @@ -438,19 +438,10 @@ cr.define('options', function() {
|
| updateOkButton_: function(mode) {
|
| var oldName = this.profileInfo_.name;
|
| var newName = $(mode + '-profile-name').value;
|
| - var nameIsDuplicate = this.existingProfileNames_[newName] != undefined;
|
| - if (mode == 'manage' && oldName == newName)
|
| - nameIsDuplicate = false;
|
| - if (nameIsDuplicate) {
|
| - var errorHtml =
|
| - loadTimeData.getString('manageProfilesDuplicateNameError');
|
| - this.showErrorBubble_(errorHtml, mode, true);
|
| - } else {
|
| - this.hideErrorBubble_(mode);
|
| + this.hideErrorBubble_(mode);
|
|
|
| - var nameIsValid = $(mode + '-profile-name').validity.valid;
|
| - $(mode + '-profile-ok').disabled = !nameIsValid;
|
| - }
|
| + var nameIsValid = $(mode + '-profile-name').validity.valid;
|
| + $(mode + '-profile-ok').disabled = !nameIsValid;
|
| },
|
|
|
| /**
|
|
|