downgrade urgency of unhandled form notes

pull/1/head
ansuz 3 years ago
parent 812d5f7146
commit 987fb696ed

@ -994,7 +994,7 @@ define([
printResults: function (answers, uid) { printResults: function (answers, uid) {
var results = []; var results = [];
var empty = 0; 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 obj = answers[author];
var answer = obj.msg[uid]; var answer = obj.msg[uid];
if (!answer || !answer.trim()) { return empty++; } if (!answer || !answer.trim()) { return empty++; }
@ -1006,7 +1006,7 @@ define([
}, },
icon: h('i.cptools.cptools-form-text') icon: h('i.cptools.cptools-form-text')
}, },
textarea: { // XXX textarea: {
defaultOpts: { defaultOpts: {
maxLength: 1000 maxLength: 1000
}, },
@ -1060,7 +1060,7 @@ define([
printResults: function (answers, uid) { printResults: function (answers, uid) {
var results = []; var results = [];
var empty = 0; 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 obj = answers[author];
var answer = obj.msg[uid]; var answer = obj.msg[uid];
if (!answer || !answer.trim()) { return empty++; } if (!answer || !answer.trim()) { return empty++; }

Loading…
Cancel
Save