Commit b161e6dc authored by dbeam's avatar dbeam Committed by Commit bot

MD Settings: clicking on the "Learn more" shouldn't select the sync passphrase option

It should only open the learn more link.

R=tommycli@chromium.org
BUG=621702
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2575743002
Cr-Commit-Position: refs/heads/master@{#438710}
parent 8491b5b9
...@@ -228,7 +228,8 @@ ...@@ -228,7 +228,8 @@
<div class="list-item"> <div class="list-item">
<span> <span>
[[enterPassphrasePrompt_(syncPrefs.passphraseTypeIsCustom)]] [[enterPassphrasePrompt_(syncPrefs.passphraseTypeIsCustom)]]
<a href="$i18nRaw{syncErrorHelpUrl}" target="_blank"> <a href="$i18nRaw{syncErrorHelpUrl}" target="_blank"
on-tap="onSyncLearnMoreTap_">
$i18n{learnMore} $i18n{learnMore}
</a> </a>
</span> </span>
......
...@@ -291,6 +291,14 @@ Polymer({ ...@@ -291,6 +291,14 @@ Polymer({
return passphrase !== '' && confirmation !== ''; return passphrase !== '' && confirmation !== '';
}, },
/**
* @param {!Event} e
* @private
*/
onSyncLearnMoreTap_: function(e) {
e.stopPropagation();
},
/** /**
* Sends the newly created custom sync passphrase to the browser. * Sends the newly created custom sync passphrase to the browser.
* @private * @private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment