From 22e1eaed2450f554f7fa62e415a7dc3d841e71da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Thu, 10 Jun 2021 11:39:24 +0100 Subject: [PATCH] Remove testing code --- www/form/app-form.less | 2 +- www/form/inner.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/www/form/app-form.less b/www/form/app-form.less index b8d5785ca..93dad8b5c 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -388,7 +388,7 @@ } } .cp-form-edit-block-input { - margin-bottom: 5px; // XXX DB margin bug + margin-bottom: 5px; &.sortable-ghost { visibility: hidden; } &.sortable-drag { opacity: 0.9 !important; } display: flex; diff --git a/www/form/inner.js b/www/form/inner.js index d160c4b51..bef36c373 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -714,12 +714,6 @@ define([ // Add answers var bodyEls = []; if (Array.isArray(answers)) { - for(var i = 0; i< 20; i++) { // XXX - answers.push({ - user: { name: 'User '+i }, - results: { values: {} } - }); - } answers.forEach(function (answerObj) { var answer = answerObj.results; if (!answer || !answer.values) { return; }