[FIX] web_editor: don't insert css inline for readonly html frame

The preview is not equal to the real email rendering because inline.css is present.
This commit is contained in:
Christophe Matthieu
2016-01-18 17:09:01 +01:00
parent 4e0e376b0a
commit da880a48db
+1 -1
View File
@@ -15,7 +15,7 @@
var snippets_url = '<t t-esc="snippets or ''"/>';
var callback = window.location.href.match(/callback=([^&amp;=]+)/)[1];
</script>
<link t-if="inline_mode" rel="stylesheet" href="/web_editor/static/src/css/inline.css" type="text/css"/>
<link t-if="enable_editor and inline_mode" rel="stylesheet" href="/web_editor/static/src/css/inline.css" type="text/css"/>
<t t-if="not dont_load_assets">
<t t-call-assets="web_editor.assets_editor"/>
<style>