summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-05-23 14:47:43 +0000
committerSébastien Theys <seb@odoo.com>2019-05-27 16:32:52 +0000
commitb0acd056e952c8e09c21f1d00689675c11d8c411 (patch)
treef06e0b7acdf6e67bceaad9d8529953037fb3751f /addons/web_editor/static/src/xml
parent277c30e7e63eed08cbae3661b40cc4bd2cceba56 (diff)
[IMP] web_editor: clean up media file widget selectors
Avoid selectors based on DOM structure, use classes whenever possible. Register all the selectors in start to avoid searching the DOM multiple times. No functional change. PR: #33509
Diffstat (limited to 'addons/web_editor/static/src/xml')
-rw-r--r--addons/web_editor/static/src/xml/wysiwyg.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml
index 00d2878f8c1..daa3890fb25 100644
--- a/addons/web_editor/static/src/xml/wysiwyg.xml
+++ b/addons/web_editor/static/src/xml/wysiwyg.xml
@@ -105,7 +105,7 @@
<input t-if="widget.options.res_id" type="hidden" name="res_id" t-att-value="widget.options.res_id"/>
<input t-if="widget.options.res_model" type="hidden" name="res_model" t-att-value="widget.options.res_model"/>
<t t-call="wysiwyg.widgets.files.submenu"/>
- <div class="form-text"/>
+ <div class="form-text o_we_error_text"/>
<div class="existing-attachments"/>
<div class="mt-4 text-center mx-auto">
<button class="btn btn-primary o_load_more" type="button">Load more...</button>