| Index: chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js
|
| diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js b/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js
|
| index ab340a07ec31a09d22081b06299469237193d101..7eb33c9514a0cc5d2a319ef03826a9e169be8a77 100644
|
| --- a/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js
|
| +++ b/chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.js
|
| @@ -231,7 +231,8 @@ login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() {
|
| },
|
|
|
| /**
|
| - * Cancels enrollment and drops the user back to the login screen.
|
| + * Cancels the current authentication and drops the user back to the next
|
| + * screen (either the next authentication or the login screen).
|
| */
|
| cancel: function() {
|
| if (this.isCancelDisabled)
|
| @@ -277,6 +278,7 @@ login.createScreen('OAuthEnrollmentScreen', 'oauth-enrollment', function() {
|
| this.showStep(STEP_ATTRIBUTE_PROMPT_ERROR);
|
| return;
|
| }
|
| + this.isCancelDisabled_ = false;
|
| $('oauth-enroll-error-card').textContent = message;
|
| $('oauth-enroll-error-card').buttonLabel =
|
| retry ? loadTimeData.getString('oauthEnrollRetry') : '';
|
|
|