[FIX] web_dialog_size: Fixes on legacy Dialogs

The problems found on Legacy Dialogs are the next:

1. The modal can't be dragged
2. The button for extending and reduce the modal is doing nothing
3. The x for close the modal is showed twice

You can test it with dialogs showed on Vault module
This commit is contained in:
Carlos Roca
2024-06-11 09:08:48 +02:00
parent 96776c225a
commit 95c85e4fce
5 changed files with 9 additions and 32 deletions

View File

@@ -3,9 +3,6 @@
<!-- This is for old Dialog template.
Because Odoo haven't done every template to OWL. -->
<t t-extend="web.DialogWidget">
<t t-jquery="button.btn-close" t-operation="inner">
<i class="fa fa-close" />
</t>
<t t-jquery="button.btn-close" t-operation="before">
<button type="button" class="dialog_button_extend btn btn-secondary">
<i class="fa fa-expand" />