summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-04-20 12:29:47 +0200
committerNicolas Lempereur <nle@odoo.com>2017-04-20 17:08:17 +0200
commit716ceede16a810e09c9d53f7f641826a34d276eb (patch)
treebb0e36185fd50603662fe695b7ff38e9d63b6610 /addons/web/static/src/js/views/basic
parent0ae30c5997cd1c020364e9b0362b587f7d1e60f0 (diff)
[FIX] web_enterprise: kanban_state_selection ie
On IE (from 9.0 up to at least IE EDGE 14) we have this behavior for the method serializeToString of XMLSerializer: > (new XMLSerializer()).serializeToString($('<b>"</b>')[0]) '<b xmlns="http://www.w3.org/1999/xhtml">"</b>' > (new XMLSerializer()).serializeToString($('<b>"</b>')[0].firstChild) '&quot;' Whilst browser such as chromium or firefox have: > (new XMLSerializer()).serializeToString($('<b>"</b>')[0]) '<b xmlns="http://www.w3.org/1999/xhtml">"</b>' > (new XMLSerializer()).serializeToString($('<b>"</b>')[0].firstChild) '"' Hence for IE9 and over, if in a `<t t-extend/>` a `t-jquery` sub-directive (without `t-operation`) is available, we can have broken javascript if a " is transformed into an &quot; at a unfortunate location. This commit favour node.data over XMLSerializer serializeToString to avoid the possibility of this issue when a text node is processed. opw-727283
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions