| 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..783d43891a4591042e593aa678ba8ff1fc03161f 100644
|
| --- a/chrome/browser/resources/md_user_manager/create_profile.js
|
| +++ b/chrome/browser/resources/md_user_manager/create_profile.js
|
| @@ -132,7 +132,7 @@ Polymer({
|
|
|
| /**
|
| * Handles tap events from dynamically created links in warning/error messages
|
| - * pushed by the browser.
|
| + * pushed by the browser as well as the noSignedInUserMessage i18n string.
|
| * @param {!Event} event
|
| * @private
|
| */
|
| @@ -140,7 +140,10 @@ Polymer({
|
| var element = Polymer.dom(event).rootTarget;
|
|
|
| if (element.id == 'supervised-user-import-existing') {
|
| - this.onImportUserTap_(event);
|
| + this.onImportUserLinkTap_(event);
|
| + event.preventDefault();
|
| + } else if (element.id == 'sign-in-to-chrome') {
|
| + this.browserProxy_.openUrlInLastActiveProfileBrowser(element.href);
|
| event.preventDefault();
|
| }
|
| // TODO(mahmadi): handle tap event on '#reauth' to re-auth the custodian.
|
| @@ -197,7 +200,7 @@ Polymer({
|
| * @param {!Event} event
|
| * @private
|
| */
|
| - onImportUserTap_: function(event) {
|
| + onImportUserLinkTap_: function(event) {
|
| if (this.signedInUserIndex_ == NO_USER_SELECTED) {
|
| // A custodian must be selected.
|
| this.handleMessage_(this.i18n('custodianAccountNotSelectedError'));
|
|
|