diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-04-22 12:45:03 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2016-04-25 11:29:59 +0200 |
| commit | 69cb6088bece965e5fa7eca6ea360d2ef92c2c61 (patch) | |
| tree | 1a516705940f087c8e9c28616b415c7e4c7bc8a1 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 6719df598875d796a9bbca7f565a00bf07de137d (diff) | |
[FIX] web: form_view: unnecessary jumping Edit button
When opening a record from a list view, the Edit button in the control panel
sometimes bounced. This was because we listened to event 'mouseup', and
astonishingly, the 'mouseup' event of the click in the list view was catched
by the form view.
The reason why we listened to 'mouseup' instead of 'click' is that some
widgets need the event to be propagated to the body. So this fix simply makes
the form view listen to 'click' instead of 'mouseup', but removes the call to
stopPropagation() on the catched event.
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
