summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-31 11:32:33 +0100
committerXavier Morel <xmo@openerp.com>2012-10-31 11:32:33 +0100
commit2ea22c52340f3a8485b89173efeb2793a6260ec8 (patch)
treefd1dd70d281a94d3e0adb1b05a7f320af9bc3e6a /addons/web/static/src/css
parent3c28326317bde6e52c7607642ba76b641f91da88 (diff)
[FIX] first field of editable list o2ms not showing their content
Bug introduced in xmo@openerp.com-20121019100725-izotstggoxpfjk6k (and xmo@openerp.com-20121022103935-78bm40gfotpt1ds6 to the extent that in the former the cell would disappear altogether and in the latter its content would be blanked out). As it was the last 15 times I made this mistake, adding a "!" before an `instanceof` call and forgetting parens just negates the object (first argument to `instanceof`), not the whole expression, and thus the expression is *always false* (the result of !a is a `boolean` primitive, and `primitive instanceof ObjectType` is always false) bzr revid: xmo@openerp.com-20121031103233-9qw40l6m2vy0l3m1
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions