Recreate the issue with next steps:
- Install and enable display suite module.
- On Comment manage display page select any of the available layouts under "Layout for comment in [view_mode]"
- Try to reply/delete comment

Comments

icurk created an issue. See original summary.

icurk’s picture

Status: Active » Needs review
StatusFileSize
new1.37 KB

If you select a different layout, other classes are added to the comment wrapper and the selector for ajax command becomes wrong. In AjaxCommentsController I changed the selector to the one, which is not related to the layout which you use. I used the anchor link with comment ID which is added in CommentViewBuilder.

Status: Needs review » Needs work

The last submitted patch, 2: ajax_comments-different-layout-bug_2924932_2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

socialnicheguru’s picture

qzmenko’s picture

Status: Needs work » Closed (duplicate)

At the moment, an attempt is being made to solve the problem in another issue #2896916: Ajax not working when using non-default view mode.