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 14bc4e646fbbe4dd869aac75ba58bdb248d0c496 Author: Kevin Morin <morin@codelutin.com> Date: Tue Aug 8 17:39:30 2017 +0200 resteasy ne supporte pas le body des requetes delete --- pollen-ui-riot-js/src/main/web/js/FetchService.js | 4 ++-- pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/js/FetchService.js b/pollen-ui-riot-js/src/main/web/js/FetchService.js index 0b99b29c..8966f29b 100644 --- a/pollen-ui-riot-js/src/main/web/js/FetchService.js +++ b/pollen-ui-riot-js/src/main/web/js/FetchService.js @@ -108,9 +108,9 @@ class FetchService { return this.fetch(url, "PUT", null, body); } - doDelete(url, body, params) { + doDelete(url, params) { url = this._addParamsToUrl(url, params); - return this.fetch(url, "DELETE", null, body); + return this.fetch(url, "DELETE"); } form(url, data, doNotStringify, params) { diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html index a7c3cfb8..5bd35e44 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html @@ -391,7 +391,7 @@ require("../components/HumanInput.tag.html"); this.confirm(this.__.delete).then((confirm) => { if (confirm) { - this.voting = false; + this.voting = true; this.update(); this.poll.deleteVote(vote).then(() => { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.