diff --git a/plone/app/discussion/browser/javascripts/moderation.js b/plone/app/discussion/browser/javascripts/moderation.js index 8efd74d..79f9994 100644 --- a/plone/app/discussion/browser/javascripts/moderation.js +++ b/plone/app/discussion/browser/javascripts/moderation.js @@ -150,11 +150,12 @@ require(["jquery", "pat-registry"], function($, registry) { url = location.href + "?review_state=" + review_state; } - $("#review-comments").load(url + " #review-comments", function() { - init(); - $('.pat-plone-modal').patPloneModal(); - let stateObj = { review_state: review_state }; - history.pushState(stateObj, "moderate comments", url); + $("#fieldset-moderate-comments").parent() + .load(url + " #fieldset-moderate-comments", function() { + init(); + $('.pat-plone-modal').patPloneModal(); + let stateObj = { review_state: review_state }; + history.pushState(stateObj, "moderate comments", url); }); });