diff options
| author | Denis Ledoux <dle@odoo.com> | 2017-03-08 18:00:22 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2017-03-08 18:07:07 +0100 |
| commit | a8efeffbf22bcff497a7ffb9eada545510bac2cd (patch) | |
| tree | aab9e768b3b9dada1dbb49bf2e8606f40aa538d2 /addons/web/static/src/less | |
| parent | 218a21a37e6af2e2ba0e2b4d8d61d8d52a7547fc (diff) | |
[FIX] pos_mercury: support for Inernet Explorer / Edge
In the method `xml_node_to_string` in `qweb2.js`,
which is used when extending XML templates,
such as this extend of the template `PaymentScreen-Paymentlines`
the method `(new XMLSerializer()).serializeToString(node)`
magically escapes the double quotes `"` in Internet Explorer and Edge,
while this is not the case in other browsers,
therefore converting, for instance,
`this.removeAttr("class");`
to
`this.removeAttr("e;class"e;);`
whhich made the rendering of the template fails.
As this method is quite critical, we do not dare
editing it to use an alternative to `XMLSerializer.serializeToString`
in a stable release
Instead, as a workaround, we just avoid the use of the double
quotes.
opw-708296
Diffstat (limited to 'addons/web/static/src/less')
0 files changed, 0 insertions, 0 deletions
