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 6befe082315171feda5299a10c153c64947dee53..b1d328f9d363222590b624a131baf66ec4f902e1 100644 |
--- a/chrome/browser/resources/options/manage_profile_overlay.js |
+++ b/chrome/browser/resources/options/manage_profile_overlay.js |
@@ -333,13 +333,11 @@ cr.define('options', function() { |
* @private |
*/ |
updateCreateOrImport_: function(mode) { |
+ this.updateOkButton_(mode); |
// In 'create' mode, check for existing supervised users with the same |
// name. |
- if (mode == 'create') { |
+ if (mode == 'create') |
this.requestExistingSupervisedUsers_(); |
- } else { |
- this.updateOkButton_(mode); |
- } |
}, |
/** |
@@ -407,7 +405,6 @@ cr.define('options', function() { |
return; |
} |
} |
- this.updateOkButton_('create'); |
}, |
/** |