branch develop updated (be707f0b -> b5e83c33)
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 be707f0b Merge tag '3.0.2' into develop new b5e83c33 desactivé le bouton "enregistrer" pendant la création du sondage coté serveur (ref #162) 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 b5e83c3363a127ad5910c092caeaae6d20d9c3f0 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Oct 18 17:54:56 2017 +0200 desactivé le bouton "enregistrer" pendant la création du sondage coté serveur (ref #162) Summary of changes: pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html | 4 ++++ 1 file changed, 4 insertions(+) -- 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 b5e83c3363a127ad5910c092caeaae6d20d9c3f0 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Oct 18 17:54:56 2017 +0200 desactivé le bouton "enregistrer" pendant la création du sondage coté serveur (ref #162) --- pollen-ui-riot-js/src/main/web/tag/poll/EditPoll.tag.html | 4 ++++ 1 file changed, 4 insertions(+) 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 81e520f1..4092b293 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 @@ -94,6 +94,7 @@ require("../components/HumanInput.tag.html"); if={!form.creation || form.step === form.steps.length - 1} class="c-button c-button--info" show={!form.model.closed} + disabled={savePollWaiting} onclick={savePoll}> <i class="fa fa-{form.creation ? 'plus' : 'check'}" aria-hidden="true"></i> {__.save} @@ -164,8 +165,10 @@ require("../components/HumanInput.tag.html"); this.savePoll = () => { this.callAfterSubmit = () => { + this.savePollWaiting = true; let errorFn = errors => { this.bus.trigger("message", errors, "error"); + this.savePollWaiting = false; this.update(); }; if (this.form.creation) { @@ -178,6 +181,7 @@ require("../components/HumanInput.tag.html"); } else { this.form.save().then(() => { this.showSummary = true; + this.savePollWaiting = false; this.update(); this.bus.trigger("successMessage", this._l("saveSuccess", this.form.model.title)); this.bus.trigger("pageChanged", this.form.model.title); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm