From a1bc0290edbeacb503988f78e45d2c67104e6710 Mon Sep 17 00:00:00 2001 From: GabrielMeyer Date: Tue, 29 Jan 2019 12:43:14 +0100 Subject: [PATCH] Fixes #4116 - Added config to prevent closing the dialog (except by clicking the 'cancel'-button of course) - Changed property 'width' of the motion-detail-card, so the size will be adjusted automatically. --- .../components/motion-detail/motion-detail.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/site/motions/components/motion-detail/motion-detail.component.ts b/client/src/app/site/motions/components/motion-detail/motion-detail.component.ts index 29c7c9158..0a7a31f81 100644 --- a/client/src/app/site/motions/components/motion-detail/motion-detail.component.ts +++ b/client/src/app/site/motions/components/motion-detail/motion-detail.component.ts @@ -758,7 +758,8 @@ export class MotionDetailComponent extends BaseViewComponent implements OnInit { this.dialogService.open(MotionChangeRecommendationComponent, { height: '400px', width: '600px', - data: data + data: data, + disableClose: true }); }