batch navigation: reload on filtering by review_state
This commit is contained in:
parent
bf20752b69
commit
30490412ab
@ -150,11 +150,12 @@ require(["jquery", "pat-registry"], function($, registry) {
|
|||||||
url = location.href + "?review_state=" + review_state;
|
url = location.href + "?review_state=" + review_state;
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#review-comments").load(url + " #review-comments", function() {
|
$("#fieldset-moderate-comments").parent()
|
||||||
init();
|
.load(url + " #fieldset-moderate-comments", function() {
|
||||||
$('.pat-plone-modal').patPloneModal();
|
init();
|
||||||
let stateObj = { review_state: review_state };
|
$('.pat-plone-modal').patPloneModal();
|
||||||
history.pushState(stateObj, "moderate comments", url);
|
let stateObj = { review_state: review_state };
|
||||||
|
history.pushState(stateObj, "moderate comments", url);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user