Fixing the hiding error bubble animation bug on second opening of create user dialog.
This bug was introduced with the fix of adding SUs with the same name. The problem is that the callback that is called when SU are refreshed does not know whether it is called after a new user is created. This causes the dialog to think that it needs to create the error bubble. For some reason the overlay is not closed after the creation of account is done, so the solution is to expose the creationInProgress, so the callback does not proceed. This requires the onSuccess callback to not change the state (otherwise the receiveSupervisedUsers callback continues to be called and cause the error). BUG=575134 Review URL: https://codereview.chromium.org/1564063002 Cr-Commit-Position: refs/heads/master@{#369314}
Showing
Please register or sign in to comment