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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Close active fields on table reload
Oliver Günther1e8656d29c66
diff --git a/frontend/src/app/features/work-packages/components/wp-edit-form/table-edit-form.ts b/frontend/src/app/features/work-packages/components/wp-edit-form/table-edit-form.tsindex 01415b9a852..29815bea776 100644--- a/frontend/src/app/features/work-packages/components/wp-edit-form/table-edit-form.ts+++ b/frontend/src/app/features/work-packages/components/wp-edit-form/table-edit-form.ts@@ -69,14 +69,19 @@ export class TableEditForm extends EditForm<WorkPackageResource> {.requireAndStream().subscribe((wp) => this.resource = wp);- constructor(public injector:Injector,+ constructor(+ public injector:Injector,public table:WorkPackageTable,public workPackageId:string,- public classIdentifier:string) {+ public classIdentifier:string,+ ) {super(injector);}destroy() {+ _.each(this.activeFields, (field) => {+ field.deactivate(false);+ });this.resourceSubscription.unsubscribe();}diff --git a/frontend/src/app/features/work-packages/components/wp-fast-table/wp-fast-table.ts b/frontend/src/app/features/work-packages/components/wp-fast-table/wp-fast-table.tsindex f0015bd1e54..6db045e9e94 100644--- a/frontend/src/app/features/work-packages/components/wp-fast-table/wp-fast-table.ts+++ b/frontend/src/app/features/work-packages/components/wp-fast-table/wp-fast-table.ts@@ -114,8 +114,8 @@ export class WorkPackageTable {// Insert timeline bodyrequestAnimationFrame(() => {- this.tbody.innerHTML = '';- this.timelineBody.innerHTML = '';+ this.tbody.replaceChildren();+ this.timelineBody.replaceChildren();this.tbody.appendChild(renderPass.tableBody);this.timelineBody.appendChild(renderPass.timeline.timelineBody);