summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/rte.js
diff options
context:
space:
mode:
authorDeep Patel <dep@odoo.com>2017-04-06 15:54:54 +0530
committerqsm-odoo <qsm@odoo.com>2017-06-14 17:49:56 +0200
commitef9fcdeaeaf5a4a99c9afd07ce278847163e5dba (patch)
tree79cc715f16c4b0f1fb685d15ca6bea49d37d7f2a /addons/web_editor/static/src/js/rte.js
parent2fe1b0c0a6b241492164a38661470424a2ed3cd2 (diff)
[FIX] web_editor: make sure gallery images are editable
When added for the first time, they were not editable until the page was saved.
Diffstat (limited to 'addons/web_editor/static/src/js/rte.js')
-rw-r--r--addons/web_editor/static/src/js/rte.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/rte.js b/addons/web_editor/static/src/js/rte.js
index 32df04b2193..92ab133263a 100644
--- a/addons/web_editor/static/src/js/rte.js
+++ b/addons/web_editor/static/src/js/rte.js
@@ -535,7 +535,6 @@ var RTE = Widget.extend({
}
if ($editable.length && (!this.$last || this.$last[0] !== $editable[0]) &&
($target.closest('[contenteditable]').attr('contenteditable') || "").toLowerCase() !== 'false') {
-
$editable.summernote(this.config($editable));
$editable.data('NoteHistory', history);