diff options
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/js/wysiwyg/widgets/media.js | 2 | ||||
| -rw-r--r-- | addons/web_editor/static/src/xml/wysiwyg.xml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/addons/web_editor/static/src/js/wysiwyg/widgets/media.js b/addons/web_editor/static/src/js/wysiwyg/widgets/media.js index 5a56faea8db..44f34ee7035 100644 --- a/addons/web_editor/static/src/js/wysiwyg/widgets/media.js +++ b/addons/web_editor/static/src/js/wysiwyg/widgets/media.js @@ -418,7 +418,7 @@ var FileWidget = SearchableMediaWidget.extend({ var attachments = this.attachments.slice(0, this.numberOfAttachmentsToDisplay); // Render menu & content - this.$('.existing-attachments').replaceWith( + this.$('.o_we_existing_attachments').replaceWith( this._renderExisting(attachments) ); diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml index abd2e940824..75056ec4a1e 100644 --- a/addons/web_editor/static/src/xml/wysiwyg.xml +++ b/addons/web_editor/static/src/xml/wysiwyg.xml @@ -98,7 +98,7 @@ <form> <t t-call="wysiwyg.widgets.files.submenu"/> <div class="form-text o_we_error_text"/> - <div class="existing-attachments"/> + <div class="o_we_existing_attachments"/> <div class="mt-4 text-center mx-auto"> <button class="btn btn-primary o_load_more" type="button">Load more...</button> <div class="mt-4 o_load_done_msg d-none"> @@ -243,8 +243,8 @@ </t> <t t-name="wysiwyg.widgets.image.existing.attachments"> - <div class="o_we_images"> - <ol class="existing-attachments d-flex flex-wrap mx-auto my-0 p-2"> + <div class="o_we_existing_attachments o_we_images"> + <ol class="d-flex flex-wrap mx-auto my-0 p-2"> <t t-foreach="attachments" t-as="attachment"> <t t-call="wysiwyg.widgets.image.existing.attachment"/> </t> @@ -263,8 +263,8 @@ </t> <t t-name="wysiwyg.widgets.document.existing.attachments"> - <div class="o_we_documents"> - <div class="row mx-auto existing-attachments"> + <div class="o_we_existing_attachments o_we_documents"> + <div class="row mx-auto"> <t t-foreach="attachments" t-as="attachment"> <div class="col-2 o_existing_attachment_cell o_we_attachment_highlight my-2" t-att-data-id="attachment.id"> <t t-call="wysiwyg.widgets.file.existing.remove"/> |
