summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/ace.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-09-15 16:33:19 +0200
committerqsm-odoo <qsm@odoo.com>2016-09-15 16:47:15 +0200
commite634a52cace081edfce324f14228ddb419af0a31 (patch)
treeaf1c856bbd930443cb0126a7e6a0e84187f43238 /addons/web_editor/static/src/xml/ace.xml
parent784eaf28dce166d3a75dcbae79339b1676aad01a (diff)
[FIX] web_editor: mark snippets which can't be dropped in the page
The system was lost with the editor refactoring which came with saas-10 and commit bf39884a5c95c3f69e94d65e10a4d4eda3726649. Indeed the show() method of the BuildingBlock class was removed as the widget is now always showed but the show_blocks() method it called was not removed (and thus was not called anymore). As a fix, the show_blocks method is now called again, on snippets initializations and each time a snippet is dropped or removed.
Diffstat (limited to 'addons/web_editor/static/src/xml/ace.xml')
0 files changed, 0 insertions, 0 deletions