Index: chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js |
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js b/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js |
index 2a8c8855757546da2a43a93c10604b6cfd44bc2a..a1b70bb18039e59886dcb4285828cabdb929170e 100644 |
--- a/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js |
+++ b/chrome/browser/resources/chromeos/login/oobe_screen_enable_debugging.js |
@@ -106,8 +106,10 @@ login.createScreen('EnableDebuggingScreen', 'debugging', function() { |
return $('debugging-remove-protection-button'); |
else if (this.state_ == this.UI_STATE.SETUP) |
return $('enable-debugging-password'); |
- else if (this.state_ == this.UI_STATE.DONE) |
+ else if (this.state_ == this.UI_STATE.DONE || |
+ this.state_ == this.UI_STATE.ERROR) { |
return $('debugging-ok-button'); |
+ } |
return $('debugging-cancel-button'); |
}, |