branch develop updated (3d2d2a53 -> 070a5c22)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 3d2d2a53 Singularisation de termes new 070a5c22 fixes #184 Wrong display of yes/no votes The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 070a5c221677d32c8abdc8ca597261c6e5616ec5 Author: Kevin Morin <morin@codelutin.com> Date: Fri Jan 5 15:29:05 2018 +0100 fixes #184 Wrong display of yes/no votes Summary of changes: pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
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 070a5c221677d32c8abdc8ca597261c6e5616ec5 Author: Kevin Morin <morin@codelutin.com> Date: Fri Jan 5 15:29:05 2018 +0100 fixes #184 Wrong display of yes/no votes --- pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html index 85a9661c..73c55514 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/VotesTable.tag.html @@ -56,9 +56,9 @@ </div> <div class="results separator-left {'ignored': element.ignored}" ref="results{index}"> <div each="{choice in parent.parent.poll.choices}" - class="result separator-right {'checkbox' : parent.parent.pollTypeCheckbox} {'selected' : parent.parent.pollTypeCheckbox && parent.parent.poll.getVoteValue(element, choice) == 1}" + class="result separator-right {'checkbox' : parent.parent.parent.pollTypeCheckbox} {'selected' : parent.parent.parent.pollTypeCheckbox && parent.parent.parent.poll.getVoteValue(element, choice) == 1}" onmouseenter="{parent.parent.parent.showTooltip(element, choice)}" onclick="{parent.parent.parent.showTooltip(element, choice)}" onmouseleave="{parent.parent.parent.hideTooltip}"> - <span if="{!pollTypeCheckbox}">{parent.parent.parent.poll.getVoteValue(element, choice)}</span> + <span if="{!parent.parent.parent.pollTypeCheckbox}">{parent.parent.parent.poll.getVoteValue(element, choice)}</span> </div> </div> </div> @@ -129,7 +129,10 @@ this.onPollChange = poll => { this.poll = poll; + this.pollTypeCheckbox = poll.voteCountingTypeValue && poll.voteCountingTypeValue.renderType === "checkbox"; this.refresh(); + this.update(); + console.log("onPollChange " + this.pollTypeCheckbox); }; this.listen("poll", this.onPollChange); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm