This is an automated email from the git hooks/post-receive script. New commit to branch feature/multi-ui in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 6c285d9223546101196edcedafe317d43de3ac89 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 23 14:47:07 2019 +0200 Fix undefined error --- pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html index 9f397532..fd033f8b 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/EditVote.tag.html @@ -280,10 +280,10 @@ if (!input) { return 0; } - if (this.question.voteCountingTypeValue.renderType === "text") { + if (this.question.voteCountingTypeValue && this.question.voteCountingTypeValue.renderType === "text") { return input.value; } - if (this.question.voteCountingTypeValue.renderType === "select") { + if (this.question.voteCountingTypeValue && this.question.voteCountingTypeValue.renderType === "select") { return input.find(option => option.selected).value; } return input.checked ? 1 : 0; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.