[FIX] website: adapt carousel options to BS5
Commit [1] migrated to Bootstrap 5 using automation. This mistakenly changed attributes related to Snippet Options. Commit [2] moved the website edition in the backend which created a conflict with the tooltip system of the editor ([data-tooltip="true"]) and the tooltip system of the backend ([data-tooltip="content"]). This commit fixes both these issues by changing the XML and removing the related js code. [1]: https://github.com/odoo/odoo/commit/1fcd098af5fa18e848c66bb83bdceb6ba0308512 [2]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-2687506 closes odoo/odoo#94564 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
f7055d3dba
commit
c6524ee9d6
@@ -1449,7 +1449,7 @@ var SnippetsMenu = Widget.extend({
|
||||
|
||||
// Add tooltips on we-title elements whose text overflows
|
||||
this.$el.tooltip({
|
||||
selector: 'we-title, [data-tooltip="true"]',
|
||||
selector: 'we-title',
|
||||
placement: 'bottom',
|
||||
delay: 100,
|
||||
title: function () {
|
||||
|
||||
Reference in New Issue
Block a user