summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorJulien Machiels <jma@odoo.com>2018-07-24 11:15:38 +0200
committerNicolas Lempereur <nle@odoo.com>2018-07-24 14:45:57 +0200
commite9901d14223004b3c44484b80d897195867ab949 (patch)
tree89e2067a472217f2c06dc7fb2eb4e58740054436 /doc/reference/javascript_reference.rst
parent6e71cf8a71d0713945947a4e96a9b70978d7f90d (diff)
[FIX] barcodes: barcodes working in button in dropdown
On mobile, some barcodes didn't trigger in the picking screens, notably O-BTN.validate. This is due to the use of parent() to check if the button is in a dropdown, as parent() only checks one DOM-level upwards. The button being inside a <ul><li>, we need to check more levels than one to pass the condition and trigger the button press. By changing parent() to parents(), the entire chain will be checked, not just one level, and the button press is correctly triggered. opw-1860964 closes #25941
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions