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
prevent involuntary modal close
ulferts3856091c974e
diff --git a/frontend/src/app/components/modals/modal-wrapper/dynamic-content.modal.ts b/frontend/src/app/components/modals/modal-wrapper/dynamic-content.modal.tsindex 2f60cd80a47..629a40d2186 100644--- a/frontend/src/app/components/modals/modal-wrapper/dynamic-content.modal.ts+++ b/frontend/src/app/components/modals/modal-wrapper/dynamic-content.modal.ts@@ -36,6 +36,11 @@ import {I18nService} from "core-app/modules/common/i18n/i18n.service";templateUrl: './dynamic-content.modal.html'})export class DynamicContentModal extends OpModalComponent implements OnInit, OnDestroy {+ // override superclass+ // Allowing outside clicks to close the modal leads to the user involuntarily closing+ // the modal when removing error messages or clicking on labels e.g. in the registration modal.+ public closeOnOutsideClick:boolean = false;+constructor(readonly elementRef:ElementRef,@Inject(OpModalLocalsToken) public locals:OpModalLocalsMap,readonly cdRef:ChangeDetectorRef,