[IMP] avoid losing error message when DOM parser fails to initialize in MSIE
bzr revid: xmo@openerp.com-20120125160949-5pr4h7aquohykdn2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user