diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2015-09-11 18:56:58 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2015-09-14 10:13:25 +0200 |
| commit | e03d64cfaa28593e48043c07a7e4e81d217b39f1 (patch) | |
| tree | 3a2c39a22ea04f2218ca60aa06e40890b382a1c8 /addons/website/static/src | |
| parent | 7ed58916dff56651ad554114e489d5ce6ede4147 (diff) | |
[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".
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/xml/website.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <h3 class="modal-title">Mobile preview</h3> </div> <div class="modal-body"> - <iframe id="mobile-viewport" class="oe_mobile_viewport" src="?mobile-preview=true" style="width: 326px"></iframe> + <iframe id="mobile-viewport" class="oe_mobile_viewport" style="width: 326px"></iframe> </div> </div> </div> |
