summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2016-10-24 16:08:57 +0200
committerAaron Bohy <aab@odoo.com>2016-10-26 13:38:47 +0200
commit5591a44e0fe061075cf989835ac3f1b9e63cade7 (patch)
tree4b242407790e390f7e59537e725b9c21eb52f8bc /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parente99e0d6922742500ecb222b7667a85fe9220863f (diff)
[FIX] board: traceback when removing calendar from dashboard
The dashboard instantiates an action manager for each view it contains. When removing a view from the dashboard, the $el of its action manager is simply removed from the DOM, unbinding all DOM event handlers attached on it and its children, but the action manager isn't destroyed. It means that Odoo event handlers (like core.bus.on(...)) aren't unbound. This causes a traceback when removing a calendar view from the dashboard, because such an Odoo handler is defined, and tries to access some autocomplete stuff that doesn't exist anymore since the element has been removed. This commit ensures to destroy the action_manager. Closes #13858
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions