summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor/transcoder.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-06-20 13:14:17 +0200
committerqsm-odoo <qsm@odoo.com>2018-06-20 13:18:16 +0200
commitf01a0bc04c5e5fb3b21983ef24cf2849061a1695 (patch)
treebbb3f47a305bbba0c189c03ae32c88033f23b4e5 /addons/web_editor/static/src/js/editor/transcoder.js
parenta53bea49fe4005e3faaa3e63888da65a45281dd5 (diff)
[FIX] web_editor: allow to empty a style file with the editor
Before this commit, if the user opened the LESS editor and emptied a file, he may get a compilation error (as intended if the file contained necessary variables and stuff) but this error also prevented to open the editor again because some code tried to decode an empty content. Now, when a file is emptied it is set to an unique line feed.
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions