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

TSLint error fix

Aleix Suau19c2933e1579
diff --git a/frontend/src/app/globals/global-listeners.ts b/frontend/src/app/globals/global-listeners.ts
index 47acfecaeae..692ae338743 100644
--- a/frontend/src/app/globals/global-listeners.ts
+++ b/frontend/src/app/globals/global-listeners.ts
@@ -97,7 +97,7 @@ import {detectOnboardingTour} from "core-app/globals/onboarding/onboarding_tour_
// Cancel the event
event.preventDefault();
// Chrome requires returnValue to be set
- event.returnValue = window.I18n.t("js.work_packages.confirm_edit_cancel");
+ event.returnValue = I18n.t("js.work_packages.confirm_edit_cancel");
}
});