From 3e3574720452c6d6a1400b82eafcab13688a5eca Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Wed, 28 Oct 2015 13:24:47 +0100 Subject: [PATCH] replace ng-include by custom dom node This fixes previewing newly to be added comments. However, I am not certain why the fix is working. Before it, the customEditorController was referenced correctly leading to togglePreview() not being defined when it should. --- frontend/app/templates/work_packages/comment_field.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/templates/work_packages/comment_field.html b/frontend/app/templates/work_packages/comment_field.html index d5e4462b1d..c4dced6904 100644 --- a/frontend/app/templates/work_packages/comment_field.html +++ b/frontend/app/templates/work_packages/comment_field.html @@ -18,8 +18,9 @@
-
+