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

Allow browser confirm dialog

Kabiru Mwenja8e82584fe082
diff --git a/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts b/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts
index 307a6a45160..84d02e9a084 100644
--- a/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/work-packages/activities-tab/index.controller.ts
@@ -723,6 +723,7 @@ export default class IndexController extends Controller {
if (this.isEditorEmpty()) {
this.closeForm();
} else {
+ // eslint-disable-next-line no-alert
const shouldClose = window.confirm(this.unsavedChangesConfirmationMessageValue);
if (shouldClose) {