summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-04-29 15:15:35 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-05-06 15:33:48 +0000
commitddb8fc1f628433e40ae3196115f7b9a11e5b5254 (patch)
tree0fee4d756eee14b3ac284823476d2acc25085c7c /doc/reference
parent1d7a544d95911addd8e898cd78a9373f43fd84be (diff)
[FIX] web: checkbox in favorites menu: don't close on click
Following f4fbaf1efae11e8bd3b1a2938ab765d391764a1b which changes the label/checkbox structure into: ``` <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id="customCheck1"> <label class="custom-control-label" for="customCheck1">...</label> </div> ``` So, before this commit, there may have been multiple input with the same Id. The consequence is that, when clicking on a label, the browser would take the first Id it found which was erroneous, because all checkboxes in Favorites menu had the same Id In reality, the use case goes as: - open a x2m, - search more - Favorites > Save current search > click on one the two checkboxes > The dropdown closed, without checking the box After this commit, when clicking on the checkbox in the favorites menu the checkbox is toggled and the dropdown stays. Also, the checkboxed have now unique ids OPW 1974587 closes odoo/odoo#33032 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions