summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2019-01-30 10:11:13 +0000
committerMartin Trigaux <mat@odoo.com>2019-01-30 15:23:50 +0000
commit2087fb5aa9f466be98b017bd9a94b2441f1c2024 (patch)
treec011acfbab982ffa36e85c43bf7224a24758c36c /addons/web/static/src/js/views/basic/basic_renderer.js
parentb117665c0de736512543ffe4ba1761cd40a63e78 (diff)
[FIX] web: support full attribute syntax
Only the syntax <t t-operation="attributes"> <attribute name="foo">bar</attribute> </t> was currently supported for attributes while the syntax <t t-operation="attributes"> <attribute name="foo" value="bar" /> </t> Is also correct and supported server side. Using value instead of the node content is needed to avoid translating the node while it is parsed by babel to extract translatable content
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions