summaryrefslogtreecommitdiff
path: root/addons/website/static/src/snippets
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-08-18 14:34:21 +0000
committerLaurent Stukkens (LTU) <ltu@odoo.com>2020-08-18 17:39:29 +0000
commitfaf51a373b3f7d299a67604ea86bc3a852b15c1b (patch)
tree533d9270d832c935227177c166618b7eb0f7aecf /addons/website/static/src/snippets
parent08ed6afa2a6e509b834e1c5fa9f732574c8b2162 (diff)
[FIX] web_editor: make sure [data-snippet] is added on internal t-call
Since [1], an attribute is added on all snippet contents, on the main node, to be able to identify them and better support them. This is added thanks to the t-snippet or the t-snippet-call instruction. The problem was this was not working if the first node of the snippet definition is also a t-call to another sub template. This now works. [1]: https://github.com/odoo/odoo/commit/11c60739e4f4379a61581ed179bc7debbb5e91f9 task-2276740 PR #53175
Diffstat (limited to 'addons/website/static/src/snippets')
0 files changed, 0 insertions, 0 deletions