summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-08-29 11:57:33 +0200
committerAaron Bohy <aab@odoo.com>2017-08-29 13:12:34 +0200
commitc5bf53682e159343ee0c707f6d7f2da972d6add2 (patch)
treedcb899ae0e46124afaab193f54d532e6999d8373 /addons/web/static/src/js/views/basic
parent5149e18ec704df151c03d3b1e35d5f04328b89d3 (diff)
[FIX] web: prevent 'load' event from being handled twice
In grouped list view, when a pager is clicked inside a group, a 'load' event is triggered to reload the data with the new offset. The event is handled by the list's controller. However, when the list is in the modal, the event must be stop propagated by the controller of the modal, so that it doesn't go up to the controller of the view displayed behind the modal. It happens for example by reproducing the following steps: - go to Lunch - add a line - search more products - group by vendor in the modal - unfold a group - click on the pager (the group must contain more than 80 records) Before this rev., it crashed because the controller of the form view tried to handle the event.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions