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 d04704a0e657b22a16f4935c5a4bf3d4404f0beb Author: jcouteau <couteau@codelutin.com> Date: Tue Sep 3 17:50:02 2019 +0200 Fix bug when editing questions when not in creation mode --- pollen-ui-riot-js/src/main/web/tag/poll/EditQuestions.tag.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/EditQuestions.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/EditQuestions.tag.html index ab58d9dd..a74c87b7 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/EditQuestions.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/EditQuestions.tag.html @@ -50,6 +50,9 @@ import "./EditQuestionsSettings.tag.html"; this.session = session; this.form = this.opts.form; + if (!this.form.questionEdited) { + this.form.questionEdited=0; + } this.question = this.form.model.questions[this.form.questionEdited]; this.installBundle(this.session, "poll_editQuestions", this.opts.emitter); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.