From 987fb696ed7e904413210f1378944fc602516f39 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 26 Jul 2021 18:12:31 +0530 Subject: [PATCH] downgrade urgency of unhandled form notes --- www/form/inner.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/form/inner.js b/www/form/inner.js index 8de8eb2c3..b3db8ce79 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -994,7 +994,7 @@ define([ printResults: function (answers, uid) { var results = []; var empty = 0; - Object.keys(answers).forEach(function (author) { // XXX deduplicate these? + Object.keys(answers).forEach(function (author) { // TODO deduplicate these? var obj = answers[author]; var answer = obj.msg[uid]; if (!answer || !answer.trim()) { return empty++; } @@ -1006,7 +1006,7 @@ define([ }, icon: h('i.cptools.cptools-form-text') }, - textarea: { // XXX + textarea: { defaultOpts: { maxLength: 1000 }, @@ -1060,7 +1060,7 @@ define([ printResults: function (answers, uid) { var results = []; var empty = 0; - Object.keys(answers).forEach(function (author) { // XXX deduplicate these + Object.keys(answers).forEach(function (author) { // TODO deduplicate these var obj = answers[author]; var answer = obj.msg[uid]; if (!answer || !answer.trim()) { return empty++; }