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 5da7a15292b6a4892b94ee57bd07d2bfcc8ff048 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri Nov 17 10:57:50 2017 +0100 Correction des permissions pour les actions de fermeture clonage et emails invalids sur un sondage --- pollen-ui-riot-js/src/main/web/js/PollForm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 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 9530c05b..eabc28aa 100644 --- a/pollen-ui-riot-js/src/main/web/js/PollForm.js +++ b/pollen-ui-riot-js/src/main/web/js/PollForm.js @@ -304,7 +304,7 @@ class PollForm { close() { if (this.model.id) { - return pollService.closePoll(this.model.id, this.permission).then((result) => { + return pollService.closePoll(this.model.id, this.model.permission).then((result) => { this.model.closed = true; this.model.canVote = false; this.model.endDate = result; @@ -316,7 +316,7 @@ class PollForm { reopen() { if (this.model.id) { - return pollService.reopenPoll(this.model.id, this.permission).then(() => { + return pollService.reopenPoll(this.model.id, this.model.permission).then(() => { this.model.closed = false; this.model.canVote = true; this.model.endDate = null; @@ -328,7 +328,7 @@ class PollForm { getInvalidEmails() { if (this.model.id) { - return pollService.getInvalidEmails(this.model.id, this.permission); + return pollService.getInvalidEmails(this.model.id, this.model.permission); } return Promise.reject("Init poll after get invalid emails"); } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.