From e03d64cfaa28593e48043c07a7e4e81d217b39f1 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Fri, 11 Sep 2015 18:56:58 +0200 Subject: [PATCH] [FIX] website: remove cancelled request for mobile preview In 7d40a7d, f820c07, 3ed0628 the way the mobile preview iframe is set was altered several times. This left an inconsistent needless page load. This page load was cancelled, but as a side effect in a given set of conditions: - an ajax request is done early in current (and so iframe) page, - phantomjs is used for the test, - server response time this could lead to a false positive caused by a cancelled xhr request throwing the error: "Can't load template, http status 0". --- addons/website/static/src/xml/website.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml index 0d7ae3e9821..f0760ac7e04 100644 --- a/addons/website/static/src/xml/website.xml +++ b/addons/website/static/src/xml/website.xml @@ -11,7 +11,7 @@