summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/rte.summernote.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-12-21 11:37:53 +0100
committerMartin Trigaux <mat@odoo.com>2015-12-21 11:37:53 +0100
commite4bf03aeaf2c8200164c27f0d93994e2c173bded (patch)
treeabce75b917f931d042dba1e34060efd625f90ed7 /addons/web_editor/static/src/js/rte.summernote.js
parent82a495eed52a9f42e5b88caa52c20a85f8d81ce3 (diff)
parentc298cf3250fcfa351775dc57c3b913169e30e418 (diff)
[MERGE] Forward port of branch saas-7 up to c298cf3
Diffstat (limited to 'addons/web_editor/static/src/js/rte.summernote.js')
-rw-r--r--addons/web_editor/static/src/js/rte.summernote.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/rte.summernote.js b/addons/web_editor/static/src/js/rte.summernote.js
index ca7d97ffd82..01020a84c22 100644
--- a/addons/web_editor/static/src/js/rte.summernote.js
+++ b/addons/web_editor/static/src/js/rte.summernote.js
@@ -772,6 +772,7 @@ eventHandler.attach = function (oLayoutInfo, options) {
var fn_detach = eventHandler.detach;
eventHandler.detach = function (oLayoutInfo, options) {
fn_detach.call(this, oLayoutInfo, options);
+ oLayoutInfo.editable().off('mousedown');
oLayoutInfo.editor().off("dragstart");
oLayoutInfo.editor().off('click');
$(document).off('mousedown', summernote_mousedown);