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

Issue 2512323002: MD Settings: In /syncSetup clicking links in checkbox label should not check/uncheck. (Closed)

Created:
4 years, 1 month ago by scottchen
Modified:
4 years ago
Reviewers:
Dan Beam, dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: In /syncSetup clicking links in checkbox label should not change checkbox value. There was a bug in which the clicks on anchor tags within the checkbox label will unintentionally alter the checkbox value. This patch fixes this issue by adding a listener with event.stopPropagate. BUG=655069 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/37cd8d80895f447c7b34da5178d5ac71edca9656 Cr-Commit-Position: refs/heads/master@{#433629}

Patch Set 1 #

Patch Set 2 : remove outdated comment #

Total comments: 8

Patch Set 3 : update styling per cr comments #

Total comments: 2

Patch Set 4 : add @private annotation to sync page function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M chrome/browser/resources/settings/people_page/sync_page.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/sync_page.js View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/people_page_sync_page_test.js View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
scottchen
4 years, 1 month ago (2016-11-19 01:54:08 UTC) #5
scottchen
4 years, 1 month ago (2016-11-19 01:54:39 UTC) #7
dpapad
https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.html File chrome/browser/resources/settings/people_page/sync_page.html (right): https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.html#newcode145 chrome/browser/resources/settings/people_page/sync_page.html:145: id="paymentLearnMore" on-tap="stopPropagation_"> Nit: on-tap="onLearnMoreTap_" https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.js File chrome/browser/resources/settings/people_page/sync_page.js (right): https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.js#newcode429 ...
4 years, 1 month ago (2016-11-19 02:04:38 UTC) #10
scottchen
https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.html File chrome/browser/resources/settings/people_page/sync_page.html (right): https://codereview.chromium.org/2512323002/diff/20001/chrome/browser/resources/settings/people_page/sync_page.html#newcode145 chrome/browser/resources/settings/people_page/sync_page.html:145: id="paymentLearnMore" on-tap="stopPropagation_"> On 2016/11/19 02:04:38, dpapad wrote: > Nit: ...
4 years ago (2016-11-21 18:33:46 UTC) #11
dpapad
lgtm https://codereview.chromium.org/2512323002/diff/40001/chrome/browser/resources/settings/people_page/sync_page.js File chrome/browser/resources/settings/people_page/sync_page.js (right): https://codereview.chromium.org/2512323002/diff/40001/chrome/browser/resources/settings/people_page/sync_page.js#newcode425 chrome/browser/resources/settings/people_page/sync_page.js:425: * @param {!Event} event @private
4 years ago (2016-11-21 18:53:29 UTC) #12
scottchen
https://codereview.chromium.org/2512323002/diff/40001/chrome/browser/resources/settings/people_page/sync_page.js File chrome/browser/resources/settings/people_page/sync_page.js (right): https://codereview.chromium.org/2512323002/diff/40001/chrome/browser/resources/settings/people_page/sync_page.js#newcode425 chrome/browser/resources/settings/people_page/sync_page.js:425: * @param {!Event} event On 2016/11/21 18:53:29, dpapad wrote: ...
4 years ago (2016-11-21 19:09:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512323002/60001
4 years ago (2016-11-21 20:26:45 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-21 20:34:41 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-21 20:41:44 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/37cd8d80895f447c7b34da5178d5ac71edca9656
Cr-Commit-Position: refs/heads/master@{#433629}

Powered by Google App Engine
This is Rietveld 408576698