Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix selector in datepicker modal repositioning

Oliver Günther73c3425adb37
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.ts b/frontend/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.ts
index 2901298b1cd..b139dee5445 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.ts
+++ b/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);
});