[FIX] tour test log error

bzr revid: chm@openerp.com-20140207134548-lr2563gtlgjphxrp
This commit is contained in:
Christophe Matthieu
2014-02-07 14:45:48 +01:00
parent 6cb5b1e556
commit 25117ffd0b
@@ -13,7 +13,7 @@ if (typeof Tour === "undefined") {
}
for (var i in scripts) {
if (typeof jQuery === "undefined") {
throw new Error("jQuery not found.\nhref: " + window.location.href + "\n\n" + document.body.innerHTML);
throw new Error("jQuery not found.\nhref: " + window.location.href + (document && document.body ? "\n\n" + document.body.innerHTML : ""));
}
jQuery.ajax({
async: false,