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 5934ee2c928dbd25c08937e59fa8db615d3911f5..1469f1a38e077e8a2fc574567c90dc561a827a28 100644 |
--- a/chrome/browser/resources/md_user_manager/create_profile.js |
+++ b/chrome/browser/resources/md_user_manager/create_profile.js |
@@ -370,6 +370,15 @@ Polymer({ |
this.isSupervised_, '', custodianProfilePath); |
}, |
+ /** |
+ * Handler for a change in the supervised account dropdown. |
+ * @param {!{target: HTMLSelectElement}} event |
+ * @private |
+ */ |
+ onAccountChanged_: function(event) { |
+ this.signedInUserIndex_ = parseInt(event.target.value, 10); |
+ }, |
+ |
/** |
* Handler for the 'import' event fired by #importUserPopup once a supervised |
* user is selected to be imported and the popup closes. |