summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-30 15:01:39 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-31 15:17:37 +0100
commit13c326caaa38eb8c1f9341da854a5045949fcf24 (patch)
tree0c4ad3d03eec95cd8f1ace7c70095dafd48d8f1e /doc/reference
parent513fad42a0bdebd5378fb9472bc7084e91435884 (diff)
[FIX] web_editor: firefox editor hidden mass mail
When saving a modified mass mailing, the editor will do a number of things to improve the mail readability accross mail client. One of those is replacing font awesome icons by image, but firefox acts differently than other browser. On a display:none iframe, doing .css('color') or .height() on an element returns respectively `undefined` and 0. This caused an error when getting the color that we could solve by doing a fallback for firefox like this: window.parent.getComputedStyle($font[0]).color But to get the height() of an element, it seems we always need the iframe displayed. With this change, when the iframe is hidden and the browser is firefox, the code try to display the iframe (with "visibility:hidden;height:1px") when this part of the code happen. opw-807180 closes #22639
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions