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

Unified Diff: chrome/browser/resources/md_user_manager/create_profile.js

Issue 2938933002: WebUI: swap paper-dropdown-menu out for md-select. (Closed)
Patch Set: switch md_user_manager/create_profile dropdown 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/md_user_manager/create_profile.js
diff --git a/chrome/browser/resources/md_user_manager/create_profile.js b/chrome/browser/resources/md_user_manager/create_profile.js
index a9a15572c21bb760336d1837012acc1a42841aac..95e4d8469d0433016439b27b54cb143af859b74f 100644
--- a/chrome/browser/resources/md_user_manager/create_profile.js
+++ b/chrome/browser/resources/md_user_manager/create_profile.js
@@ -396,6 +396,15 @@ Polymer({
this.isSupervised_, '', custodianProfilePath);
},
+ /**
+ * Handler for a change in the supervised account dropdown.
+ * @param {!{target: HTMLSelectElement}} event
+ * @private
+ */
+ onAccountChanged_: function(e) {
+ this.signedInUserIndex_ = e.target.value;
+ },
+
/**
* Handler for the 'import' event fired by #importUserPopup once a supervised
* user is selected to be imported and the popup closes.

Powered by Google App Engine
This is Rietveld 408576698