Commit c94846aa authored by wutao's avatar wutao Committed by Commit Bot

ambient: Fix checkbox attribute

Needs to add $ to data-id attribute otherwise reads undefined.

Bug: b/161081423
Test: manual
Change-Id: I35fce415685645b5dbb5afa1df781374333f7311
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315802Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarXiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791289}
parent 5335df06
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<cr-checkbox class="list-item" <cr-checkbox class="list-item"
checked="[[item.checked]]" checked="[[item.checked]]"
on-change="onCheckboxChange_" on-change="onCheckboxChange_"
data-id="[[item.albumId]]" data-id$="[[item.albumId]]"
label="[[item.title]]"> label="[[item.title]]">
[[item.title]] [[item.title]]
</cr-checkbox> </cr-checkbox>
......
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