From c28cf2046442b2e114dd5afa4292f1409798d182 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 26 May 2021 12:03:27 +0200 Subject: [PATCH] Fix form template --- www/common/cryptpad-common.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 8419db9ba..973a27d6b 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -743,6 +743,10 @@ define([ delete meta.chat2; delete meta.chat; delete meta.cursor; + + if (meta.type === "form") { + delete parsed.answers; + } } };