summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/bootstrap-datetimepicker/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-12-07 10:44:28 +0100
committerqsm-odoo <qsm@odoo.com>2016-12-07 12:35:38 +0100
commit0f45436c9ccea6ea1d9c14e20179a51cd0aa11bb (patch)
tree7cc2edbf1e28f2262fbdcf2b7f7f783c5e195eef /addons/web/static/lib/bootstrap-datetimepicker/src
parent3fd74146c2ca182fdb9ee880947e9996af74a2e7 (diff)
[FIX] web_tip: do not off all the bus "resize" events
The Tip class instances are binding two callbacks to the core.bus "resize" event: one in the init function and one when the tip is triggered. In the destroy function, these two bindings are removed. However, if the tip was not triggered, the second binding has not been made and removing it in the destroy function removed every bindings made on the core.bus "resize" event instead (even those from other modules). This is because it gives an undefined callback and so this is equivalent to calling bus.off("resize", this[, undefined]). Note: this problem is solved in future versions with the new web_tour module.
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src')
0 files changed, 0 insertions, 0 deletions