[FIX] calendar: fix dynamic repositioning
The reposition() method got a new parameter in #116499. Many2ManyExpandable now passes the necessary argument to reposition(). closes odoo/odoo#118459 Signed-off-by: Arnaud Joset <arj@odoo.com>
This commit is contained in:
@@ -20,7 +20,7 @@ export class Many2ManyAttendeeExpandable extends Many2ManyAttendee {
|
||||
const popover = document.querySelector(".o_field_many2manyattendeeexpandable")
|
||||
.closest(".o_popover");
|
||||
const targetElement = document.querySelector(`.fc-event[data-event-id="${this.props.record.resId}"]`);
|
||||
reposition(targetElement, popover, { position: "right", margin: 0 });
|
||||
reposition(targetElement, popover, null, { position: "right", margin: 0 });
|
||||
}, () => [ this.state.expanded ]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user