diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-10-14 16:17:04 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-10-14 16:20:29 +0200 |
| commit | b9fdb93bece59c1d3d8cf17495e9f9f0d90e6b23 (patch) | |
| tree | 30b096bf27a9b99c4978f19044945be376729fbc /addons/website/static/src/js/website.editor.js | |
| parent | 94e7dc60504fd4b7290a89fbda66452ea17c071b (diff) | |
[FIX] implementation of t-call's 0-index in qweb-js
Had expected regularity, had not noticed the Python version is really an
ignoble hack where the string "0" (exactly) is interpreted in a specific
manner when used in t-raw and format strings, *and nowhere else*.
Had special-cased the expression everywhere which broke e.g.
<t-set="xxx" t-value="0"/>. Reproduce Python behavior more closely,
and strongly consider swapping out both for something different e.g.
[[content]] or something like that, which doesn't cause problems in
Python but doesn't have to be so specially cased either.
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
0 files changed, 0 insertions, 0 deletions
