summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/rte.summernote.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-11-17 14:48:43 +0100
committerChristophe Simonis <chs@odoo.com>2016-11-17 14:48:43 +0100
commit1ef4061e68a6a9f07effe5efcdbd3fb3e5054cf6 (patch)
tree32918613ae611e9b55ec5a08904a9a649bc6fd54 /addons/web_editor/static/src/js/rte.summernote.js
parentd7004d7dc0859056f982052184d5500846c13716 (diff)
parent3b2f4e244f51b37050f61629bf01e6dc38cc4817 (diff)
[MERGE] forward port branch saas-11 up to 3b2f4e2
Diffstat (limited to 'addons/web_editor/static/src/js/rte.summernote.js')
-rw-r--r--addons/web_editor/static/src/js/rte.summernote.js2
1 files changed, 2 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 a83e9136a06..5c621ebbe70 100644
--- a/addons/web_editor/static/src/js/rte.summernote.js
+++ b/addons/web_editor/static/src/js/rte.summernote.js
@@ -538,6 +538,8 @@ function prettify_html(html) {
}
return result;
}
+
+// Change Warning: called with dummy arguments to quit code view before saving
$.summernote.pluginEvents.codeview = function (event, editor, layoutInfo) {
if (layoutInfo.toolbar) {
return eventHandler.modules.codeview.toggle(layoutInfo);