branch feature/253-tuiles updated (9a1c61a6 -> 71b940e2)
This is an automated email from the git hooks/post-receive script. New change to branch feature/253-tuiles in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 9a1c61a6 ref #253 Suppression en masse + lien pour dupliquer un sondage new 71b940e2 ref #253 Correction duplication KO 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 71b940e2df5aace5c9263cff89baf9a14b17da3f Author: Cécilia Bossard <bossard@codelutin.com> Date: Mon Mar 2 17:04:18 2020 +0100 ref #253 Correction duplication KO Summary of changes: pollen-ui-riot-js/src/main/web/js/PollForm.js | 2 +- pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html | 2 +- 2 files changed, 2 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 feature/253-tuiles in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 71b940e2df5aace5c9263cff89baf9a14b17da3f Author: Cécilia Bossard <bossard@codelutin.com> Date: Mon Mar 2 17:04:18 2020 +0100 ref #253 Correction duplication KO --- pollen-ui-riot-js/src/main/web/js/PollForm.js | 2 +- pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/js/PollForm.js b/pollen-ui-riot-js/src/main/web/js/PollForm.js index cc3e8e9f..017f866c 100644 --- a/pollen-ui-riot-js/src/main/web/js/PollForm.js +++ b/pollen-ui-riot-js/src/main/web/js/PollForm.js @@ -78,7 +78,6 @@ class PollForm { //TODO check if everything is still on the model if (clone) { this.model.id = undefined; - this.model.voteCount = 0; this.model.commentCount = 0; this.model.createDate = undefined; this.model.canVote = false; @@ -100,6 +99,7 @@ class PollForm { if (clone) { this.model.questions.forEach((question) => { + question.id = undefined; question.choices.forEach((choice) => { choice.id = undefined; choice.permission = undefined; diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html index 0dc6f11e..26a6704a 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/MyPollsHeader.tag.html @@ -130,7 +130,7 @@ import "../popup/ModalReboot.tag.html"; this.refs.rightSubMenuSeparator.display(false); this.update(); - } + }; this.deletePolls = (e) => { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm