From a661ebc873d9b79b71b6128cf56f3b07fdedfa51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 14 Jun 2018 14:51:26 +0200 Subject: [PATCH] Fix quoting on open field --- .../work-package-comment/work-package-comment.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/work-packages/work-package-comment/work-package-comment.component.ts b/frontend/src/app/components/work-packages/work-package-comment/work-package-comment.component.ts index 5d84a0dde8..adae39bcad 100644 --- a/frontend/src/app/components/work-packages/work-package-comment/work-package-comment.component.ts +++ b/frontend/src/app/components/work-packages/work-package-comment/work-package-comment.component.ts @@ -130,7 +130,7 @@ export class WorkPackageCommentComponent implements IEditFieldHandler, OnInit, O } public reset(withText?:string) { - this.field = new WorkPackageCommentField(this.workPackage); + this.field = this.field || new WorkPackageCommentField(this.workPackage); this.field.initializeFieldValue(withText); }