Closed (fixed)
Project:
AJAX Comments
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2018 at 13:58 UTC
Updated:
29 Dec 2019 at 12:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
idebr commentedAttached patch removes any earlier Ajax Comment reply forms when applicable, so users who click the 'Reply' button multiple times only see a single comment form.
Comment #3
wturrell commentedThis doesn't seem to work 100% of the time for me (I'm using hook_ENTITY_TYPE_view_alter to hide comments by other users, I'm unclear if that could break the JS selector) - it's definitely an improvement and I'm using the patch, but there's still something not quite right…
Comment #4
hoporr commentedReviewerd: Patch solves problem for me.
Comment #5
falco010Patch provided #2 solved this issue for me, functionally tested this and is working as expected.
Thanks @idebr for the patch.
@wturrel Why are you hiding comments with hook_ENTITY_TYPE_view_alter? And not using the core "Comment settings" to display the comments as Open/Closed/Hidden?
Comment #6
wturrell commented@Falco010 it's a project where the client doesn't want people in a certain role to be able to see each other's comments, but admin roles can see all of them as normal.
As I recall (it was 8 months ago), I thought the patch had worked at first, but then I started to notice other weird behaviour, so I decided to stop using the module.
Comment #8
qzmenkoCommited and pushed, thanks!
Comment #9
qzmenko