diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-05-05 18:48:34 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-05-05 18:48:34 +0200 |
| commit | 22604968793a7cc12c8fcf89411ba5b79c0642b3 (patch) | |
| tree | 7332814024d0a8f872e726b4f907020cc3a6a341 /addons/website/static/src/js/website.editor.js | |
| parent | 28b5d0da0d05b2f4cd68ffbd39288f9f01c8f57f (diff) | |
| parent | a939a272efa7cdd047e79a0a6da361e94ca93d4f (diff) | |
[MERGE] forward port of branch 8.0 up to a939a27
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js index 21dfc9c61d3..12dceabac8f 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -1425,6 +1425,12 @@ define(['summernote/summernote'], function () { close: function () { this.$el.modal('hide'); }, + destroy: function () { + this.$el.modal('hide').remove(); + if($(".modal.in").length>0){ + $('body').addClass('modal-open'); + } + }, }); website.editor.LinkDialog = website.editor.Dialog.extend({ |
