Fix selector in datepicker modal repositioning

Broken in
133c0136c1 (diff-15f3e22fe43bc706a4658756ece727ec797618fdb98405dcc085026fb9e49664R2)
pull/10092/head
Oliver Günther 3 years ago
parent 091b628f4f
commit 73c3425adb
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      frontend/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.ts

@ -84,7 +84,7 @@ export class CombinedDateEditFieldComponent extends DateEditFieldComponent imple
.show(DatePickerModalComponent, this.injector, { changeset: this.change, fieldName: this.name }, true);
setTimeout(() => {
const modalElement = jQuery(modal.elementRef.nativeElement).find('.datepicker-modal');
const modalElement = jQuery(modal.elementRef.nativeElement).find('.op-datepicker-modal');
const field = jQuery(this.elementRef.nativeElement);
modal.reposition(modalElement, field);
});

Loading…
Cancel
Save