summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/lib/summernote/src/js/Renderer.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-07-31 11:21:41 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-31 13:07:48 +0200
commit37b746c6cff847d65c56e935b32828414eb6c014 (patch)
tree5e5084cdf441171f194964777c494a9829d9ac9a /addons/web_editor/static/lib/summernote/src/js/Renderer.js
parent51ef4b8ea355bf8981f7c9c0748115d6037cfb12 (diff)
[FIX] *: BS4, restore modal headers
Close icon should now be put after the modal title in the DOM. Completes commit https://github.com/odoo/odoo/commit/d9801c1abe06b4c20702c0e94c56eea6a3ed8327
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src/js/Renderer.js')
-rw-r--r--addons/web_editor/static/lib/summernote/src/js/Renderer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/lib/summernote/src/js/Renderer.js b/addons/web_editor/static/lib/summernote/src/js/Renderer.js
index 2c856d4b152..bf72f9f945f 100644
--- a/addons/web_editor/static/lib/summernote/src/js/Renderer.js
+++ b/addons/web_editor/static/lib/summernote/src/js/Renderer.js
@@ -99,8 +99,8 @@ define([
'<div class="modal-content">' +
(title ?
'<header class="modal-header">' +
- '<button type="button" class="close" aria-hidden="true" tabindex="-1">&times;</button>' +
'<h4 class="modal-title">' + title + '</h4>' +
+ '<button type="button" class="close" aria-hidden="true" tabindex="-1">&times;</button>' +
'</header>' : ''
) +
'<main class="modal-body">' + body + '</main>' +