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 7c11d3812c941692da4871b868ad1f9e7243d177 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 9 10:52:38 2019 +0200 Deal with config init on max choice number --- .../src/main/web/tag/voteCountingType/MaxChoicesNumberConfig.tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/voteCountingType/MaxChoicesNumberConfig.tag.html b/pollen-ui-riot-js/src/main/web/tag/voteCountingType/MaxChoicesNumberConfig.tag.html index dd77eafd..debf6256 100644 --- a/pollen-ui-riot-js/src/main/web/tag/voteCountingType/MaxChoicesNumberConfig.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/voteCountingType/MaxChoicesNumberConfig.tag.html @@ -51,7 +51,7 @@ this.installBundle(session, "poll_settings_voteCountingConfig"); this.toggleLimitChoices = () => { - if (this.opts.config.maxChoiceNumber === 0) { + if (this.opts.config.maxChoiceNumber === 0 || typeof this.opts.config.maxChoiceNumber === "undefined") { this.opts.config.maxChoiceNumber = this.opts.countChoices; } else { this.opts.config.maxChoiceNumber = 0; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.