summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-03-13 13:51:07 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit26f91c429cd5dac112e74793c43b828872a90051 (patch)
treeda834935b6f7ff809057affc531cabdc9bf71eea /addons/web/static/src/js/views/basic
parentaa371a3eff34ce7da89e80582f1c78a9b9f23674 (diff)
[FIX] web: cannot debounce prototype function of Widget
The `_onClickStage` method of the `FieldStatus` was debounced. This can be done but not directly on prototype functions because they are shared between each instances (just called with different `this`). This does not produced any bug because there never are two instances of this class which are used at the same time in the web client. The problem is however present when trying to make tests as clicks on different statusbar buttons in two different tests were filtered by the debouncing.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions