summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-10-14 16:17:04 +0200
committerXavier Morel <xmo@openerp.com>2014-10-14 16:20:29 +0200
commitb9fdb93bece59c1d3d8cf17495e9f9f0d90e6b23 (patch)
tree30b096bf27a9b99c4978f19044945be376729fbc /addons/website/static/src
parent94e7dc60504fd4b7290a89fbda66452ea17c071b (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')
0 files changed, 0 insertions, 0 deletions