This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit eefdb0835941d053b74c937a8294b8cda3a61eb3 Author: jcouteau <couteau@codelutin.com> Date: Wed Apr 29 12:44:25 2020 +0200 Fixes #327 : Votecounting type config not showing up at vote creation/modification (when changing type) --- pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html index e60d4494..f1c149d4 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Settings.tag.html @@ -470,9 +470,9 @@ import "../voteCountingType/MajorityJudgmentConfig.tag.html"; this.voteCountingTypeChanged = e => { if (e.item) { - this.form.model.questions[0].voteCountingType = e.item.type.id.toString(); + this.form.model.questions[0].voteCountingType = parseInt(e.item.type.id.toString(), 10); } else { - this.form.model.questions[0].voteCountingType = e.target.value; + this.form.model.questions[0].voteCountingType = parseInt(e.target.value, 10); } this.updateVoteCountingTypeHelp(); }; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.