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 63cfa78c672462a98f915630b6d70932dd14f853..94f48309268e2560b44c01691d1d8dbcf78ea9d8 100644 |
--- a/chrome/browser/resources/md_user_manager/create_profile.js |
+++ b/chrome/browser/resources/md_user_manager/create_profile.js |
@@ -131,8 +131,9 @@ Polymer({ |
}, |
/** |
- * Handles tap events from dynamically created links in warning/error messages |
- * pushed by the browser. |
+ * Handles tap events from: |
+ * - links within dynamic warning/error messages pushed from the browser. |
+ * - the 'noSignedInUserMessage' i18n string. |
* @param {!Event} event |
* @private |
*/ |
@@ -142,6 +143,9 @@ Polymer({ |
if (element.id == 'supervised-user-import-existing') { |
dpapad
2016/05/03 17:30:26
I can't find any element with this ID in the HTML?
Moe
2016/05/03 20:30:10
Yes. These are both dynamically added. The comment
|
this.onImportUserTap_(event); |
event.preventDefault(); |
+ } else if (element.id == 'sign-in-to-chrome') { |
dpapad
2016/05/03 17:30:26
Same here.
Moe
2016/05/03 20:30:10
Same as above.
|
+ this.browserProxy_.openUrlInLastActiveProfileBrowser(element.href); |
+ event.preventDefault(); |
} |
// TODO(mahmadi): handle tap event on '#reauth' to re-auth the custodian. |
}, |