diff options
| author | Priyanka Kakadiya <pka@odoo.com> | 2019-03-20 06:31:46 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-05-09 14:17:05 +0000 |
| commit | ee94decd30c4514d5bc410b1652bc6464bb600aa (patch) | |
| tree | c45fdd7dbad5f119091e1abc80635b89d6f0f935 /addons/web/static/src/js/views/abstract_controller.js | |
| parent | 1121f011962a689165bdd7d66b985cd586a1554d (diff) | |
[FIX] web: disable sanitization for bootstrap popover
Since saas-11.3:
Bootstrap sanitizer sanitizes html and removes attributes which are not
defined in whitelist, here is the documentation link:
https://getbootstrap.com/docs/4.3/getting-started/javascript/#sanitizer
Restore sanitize=false for bootstrap popover.
A scenario where the sanitizer will break a popover: compare 2 products
and open Compare popover and try to delete a comparison item from the
popover -> item can not be deleted because data-product_product_id has
been removed by sanitizer and so the item can not be deleted because
deletion logic depends on data-product_product_id.
Reference commit: https://github.com/odoo/odoo/commit/36caf5fc16b5a95a0bf37f08f0caf974683b2df6
Closes https://github.com/odoo/odoo/pull/31961
task-1950702
Diffstat (limited to 'addons/web/static/src/js/views/abstract_controller.js')
0 files changed, 0 insertions, 0 deletions
