diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-25 17:09:49 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-25 17:09:49 +0100 |
| commit | a4a8e0eee1544a3c8a51547ffb2cec10ca8e938c (patch) | |
| tree | caf4fa68201ec0a54e0c1c258dcab72750ca3717 /addons/web/static/lib | |
| parent | 26374d8db562867fa17d2f4207dee161267e551c (diff) | |
[IMP] avoid losing error message when DOM parser fails to initialize in MSIE
bzr revid: xmo@openerp.com-20120125160949-5pr4h7aquohykdn2
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 089b1812aa5..7d58b2492f7 100644 --- a/addons/web/static/lib/qweb/qweb2.js +++ b/addons/web/static/lib/qweb/qweb2.js @@ -301,7 +301,8 @@ QWeb2.Engine = (function() { // new ActiveXObject("Msxml2.DOMDocument.4.0"); xDoc = new ActiveXObject("MSXML2.DOMDocument"); } catch (e) { - return this.tools.exception("Could not find a DOM Parser"); + return this.tools.exception( + "Could not find a DOM Parser: " + e.message); } xDoc.async = false; xDoc.preserveWhiteSpace = true; |
