Fetch comment history
Last updated
Was this helpful?
Last updated
Was this helpful?
You can see the history of each comment if the current page is using the .
When you click on the pencil icon for a given comment, the plugin will fetch all the previous versions of that comment and display them in a modal window.
The plugin fetches a data identifier handle for the comment you want to browse.
controller.js
The plugin fetches a structured data handle using the data identifier handle previously obtained.
controller.js
The plugin fetches all the previous versions of the structured data associated with the comment you want to browse.
The plugin fetches the content of the structured data using the structured data handle.
controller.js
The parameter v
corresponds to the version of the structured data being fetched. It starts at version 0 and continues until all the versions (except the current version) have been fetched.
The plugin drops the structured data handle of the comment.
controller.js
The plugin drops the data identifier handle of the comment.
controller.js
The plugin then displays all the versions of the comment in a modal window.