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

Handle event ourselves when clicking the redirect link

Christophe Bliard41e689cbf010
diff --git a/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts b/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
index 4d09ccec88f..3c48579a0e1 100644
--- a/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/job-status-polling.controller.ts
@@ -41,6 +41,7 @@ export default class JobStatusPollingController extends Controller<HTMLElement>
}
redirectClick(event:PointerEvent) {
+ event.preventDefault();
this.followLink(event.target as HTMLLinkElement);
}