diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-02-18 12:23:09 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-02-18 12:23:09 +0100 |
| commit | 856f03bf9be2319adc06edfcbcae4e0907d9337b (patch) | |
| tree | 43d82e2227afc9478a24f34cc34f871087ed12ca | |
| parent | 1b3fb3c4a8fbda32ba708471fc1d379ee796e557 (diff) | |
[FIX] website: when a snippet have a o_not_editable class the contentEditable=false must added automatically.
| -rw-r--r-- | addons/website/static/src/js/website.snippets.editor.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index 3f83a30ce4c..0e725e030bc 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -318,6 +318,8 @@ } }); // end + + $html.find('.o_not_editable').attr("contentEditable", false); $left_bar.append($html); |
