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

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

Issue 2961103003: CrOS OOBE login: Replace last usages of paper-dialog with cr-dialog. (Closed)
Patch Set: Tweak Created 3 years, 6 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
Index: chrome/browser/resources/chromeos/login/offline_gaia.js
diff --git a/chrome/browser/resources/chromeos/login/offline_gaia.js b/chrome/browser/resources/chromeos/login/offline_gaia.js
index 30983ac3c27710592da31a5ebc6798a6da363112..597c7db047956476a22a81bd999e9ee207b91a18 100644
--- a/chrome/browser/resources/chromeos/login/offline_gaia.js
+++ b/chrome/browser/resources/chromeos/login/offline_gaia.js
@@ -58,12 +58,14 @@ Polymer((function() {
},
onForgotPasswordClicked_: function() {
- this.$.forgotPasswordDlg.fitInto = this;
this.disabled = true;
this.fire('dialogShown');
- this.$.forgotPasswordDlg.open();
+ this.$.forgotPasswordDlg.showModal();
this.$.passwordCard.classList.add('full-disabled');
- this.$.forgotPasswordDlg.focus();
+ },
+
+ onForgotPasswordCloseTap_: function() {
+ this.$.forgotPasswordDlg.close();
},
onDialogOverlayClosed_: function() {

Powered by Google App Engine
This is Rietveld 408576698