Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7831)

Unified Diff: chrome/browser/resources/chromeos/login/oobe_dialog.js

Issue 2700353002: ChromeOS OOBE: Fix EULA Back button. (Closed)
Patch Set: Updated comment. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_welcome.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_dialog.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_dialog.js b/chrome/browser/resources/chromeos/login/oobe_dialog.js
index ab3be0620f8b3505afc2cb202b6953ee4c75f553..fc5ad21f78e19a436e2b3bd8ac360143e7c15df5 100644
--- a/chrome/browser/resources/chromeos/login/oobe_dialog.js
+++ b/chrome/browser/resources/chromeos/login/oobe_dialog.js
@@ -24,7 +24,15 @@ Polymer({
},
},
- focus: function() {},
+ focus: function() {
+ /* When Network Selection Dialog is shown because user pressed "Back"
+ button on EULA screen, display_manager does not inform this dialog that
+ it is shown. It ouly focuses this dialog.
+ So this emulates show().
+ TODO (alemate): fix this once event flow is updated.
+ */
+ this.show();
+ },
/**
* This is called from oobe_welcome when this dialog is shown.
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe_welcome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698