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 9e10a2b145ac539f1967df817b690313c946e57f Author: jcouteau <couteau@codelutin.com> Date: Tue May 5 10:20:10 2020 +0200 fixes #330 - Cannot display comments --- pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html index 499be227..8060a7b7 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Comments.tag.html @@ -105,7 +105,7 @@ import "./Report.tag.html"; onload={lazyLoad} load-size="20" scroll-target={refs.window} - not-load-on-start="true" + not-load-on-start="false" ref="lazyLoad" class="elements"> <yield to="element"> @@ -247,6 +247,7 @@ import "./Report.tag.html"; this.lazyLoad = pagination => { return this.poll.loadLazyComments(pagination).then((result) => { + console.log(result); if (!this.loaded) { this.loaded = true; this.update(); @@ -267,8 +268,12 @@ import "./Report.tag.html"; this.openComments = () => { this.open = true; - this.poll.loadCommentAuthorName(); - this.refresh(); + this.poll.loadCommentAuthorName().then(()=>{ + console.log("here") + console.log(this.loaded); + console.log(this.poll); + this.refresh() + }); }; this.closeComments = () => { -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.