diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-08-14 18:35:33 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-08-15 16:57:35 +0200 |
| commit | 73e652818b812670b7d6ce3da727de1809da531c (patch) | |
| tree | fcc9f2ae92e5d1318dbddf423d330114cff68896 /addons/web_editor/static/src/js/rte.summernote.js | |
| parent | 9979939cd160a234270426f644c3bb2fdda8b543 (diff) | |
| parent | 8d95f6dcdf6e451f32c247bcabd5ce024a158ebe (diff) | |
[MERGE] forward port of branch saas-6 up to 8d95f6d
Diffstat (limited to 'addons/web_editor/static/src/js/rte.summernote.js')
| -rw-r--r-- | addons/web_editor/static/src/js/rte.summernote.js | 2 |
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 5b6b6d593e9..467f0042090 100644 --- a/addons/web_editor/static/src/js/rte.summernote.js +++ b/addons/web_editor/static/src/js/rte.summernote.js @@ -214,6 +214,8 @@ eventHandler.popover.button.update = function ($container, oStyle) { $container.find('button[data-event="resizefa"][data-value="1"]').toggleClass("active", !$container.find('.active[data-event="resizefa"]').length); $container.find('button[data-event="imageShape"][data-value="fa-spin"]').toggleClass("active", $(oStyle.image).hasClass("fa-spin")); + $container.find('button[data-event="imageShape"][data-value="shadow"]').toggleClass("active", $(oStyle.image).hasClass("shadow")); + $container.find('.btn-group:has(button[data-event="imageShape"])').removeClass("hidden"); } else { |
