diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-01-18 11:47:26 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-01-18 17:09:01 +0100 |
| commit | da880a48db7e5f7fb1335b5e9e0824edee84ce88 (patch) | |
| tree | f129a7c1eb06ae0a2b14ffbdfd36d51826caadd3 /addons | |
| parent | 4e0e376b0a2c524d99cb18a23163f52ecadd3063 (diff) | |
[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.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web_editor/views/iframe.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/views/iframe.xml b/addons/web_editor/views/iframe.xml index ac9dee194ae..f216e4db588 100644 --- a/addons/web_editor/views/iframe.xml +++ b/addons/web_editor/views/iframe.xml @@ -15,7 +15,7 @@ var snippets_url = '<t t-esc="snippets or ''"/>'; var callback = window.location.href.match(/callback=([^&=]+)/)[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> |
