diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-03-13 17:37:20 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-03-13 17:37:20 +0100 |
| commit | 65a5ced979821afed0711e662e2fa7f6ba8a67dd (patch) | |
| tree | f5c16b95a1c71700258a74323934045d1c0de07f /addons/web/static/lib | |
| parent | d5c3f360e2ca076c9b0f4debe643ed1df12a2327 (diff) | |
| parent | 777a87cde8fbee8495c95891d5cb2104cf9160e6 (diff) | |
[MERGE] forward port branch saas-14 up to 777a87cde8f
Diffstat (limited to 'addons/web/static/lib')
| -rw-r--r-- | addons/web/static/lib/qweb/qweb2.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/lib/qweb/qweb2.js b/addons/web/static/lib/qweb/qweb2.js index 1ea73e6278e..1e854a6960c 100644 --- a/addons/web/static/lib/qweb/qweb2.js +++ b/addons/web/static/lib/qweb/qweb2.js @@ -327,7 +327,8 @@ QWeb2.Engine = (function() { if (self.tools.trim(text_node.nodeValue)) { return self.tools.exception("Error: text is not allowed between branching directives"); } - text_node.remove(); + // IE <= 11.0 doesn't support ChildNode.remove + text_node.parentNode.removeChild(text_node); } } else { return self.tools.exception("Error: t-elif and t-else directives must be preceded by a t-if or t-elif directive"); |
