Create Profile Overlay: Properly update the warning bubble and the "add" button.
commitae78fbe6c2e2b0d37d8a12a226ac488b008ad34f
authortreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 17:52:55 +0000 (19 17:52 +0000)
committertreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 19 Aug 2014 17:54:06 +0000 (19 17:54 +0000)
tree47f349b08002d80bbf3f85660e8e1f41d1ecf558
parent8212232fac77f4f0335ea8d065960777e955d98e
Create Profile Overlay: Properly update the warning bubble and the "add" button.
This was broken in r289576.

Fix: In "create" mode, updateOkButton_ needs to be called also when create-profile-supervised is not checked.

BUG=405050

Review URL: https://codereview.chromium.org/486283002

Cr-Commit-Position: refs/heads/master@{#290608}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290608 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/options/manage_profile_overlay.js