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 0dae085731922d6f66e54eaaeabfe2ec864b0921 Author: Kevin Morin <morin@codelutin.com> Date: Fri Aug 4 11:43:54 2017 +0200 fixes #112 submit avant de faire précédent pour garder les modifs en mémoire --- pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html index 27d63e4d..e37ff349 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html @@ -168,12 +168,9 @@ require("../components/HumanInput.tag.html"); }; }; - this.previousStep = () => { - if (this.form.creation || this.form.model.closed) { - this.form.previousStep(); - } else { - this.callAfterSubmit = () => this.form.previousStep(); - } + this.previousStep = (e) => { + this.callAfterSubmit = () => this.form.previousStep(); + this.submitStep(e); }; this.listen("pollStepsChange", () => { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.