downgrade urgency of unhandled form notes

This commit is contained in:
ansuz 2021-07-26 18:12:31 +05:30
parent 812d5f7146
commit 987fb696ed
1 changed files with 3 additions and 3 deletions

View File

@ -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++; }