summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2017-03-08 18:00:22 +0100
committerDenis Ledoux <dle@odoo.com>2017-03-08 18:07:07 +0100
commita8efeffbf22bcff497a7ffb9eada545510bac2cd (patch)
treeaab9e768b3b9dada1dbb49bf2e8606f40aa538d2 /addons/web_editor/static/src
parent218a21a37e6af2e2ba0e2b4d8d61d8d52a7547fc (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(&quote;class&quote;);` 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_editor/static/src')
0 files changed, 0 insertions, 0 deletions