Hi everyone,
I am currently building a Portal and on one of the pages, I have added timeline functionality so that users can add comments and attach notes.
I am not sure when or why, but the timeline has stopped working. I can still see the timeline and it's buttons, but they don't work anymore. When I click on the button to add a new note, nothing happens. The same for editing a note I created.
I checked the console and after I click the button to add a new note, I get the following errors:
VM4596 app.bundle-63b32aa50b.js:1 Uncaught TypeError: d.find(...).timeago is not a function
at VM4596 app.bundle-63b32aa50b.js:1:5607
at u (preform.bundle-2c5735c41a.js:2:28322)
at Object.fireWith [as resolveWith] (preform.bundle-2c5735c41a.js:2:29067)
at a. (preform.bundle-2c5735c41a.js:2:30966)
at validateLoginSession (postpreform.bundle-f4f91a6eb4.js:1:2166)
at Object. (postpreform.bundle-f4f91a6eb4.js:1:1748)
at u (preform.bundle-2c5735c41a.js:2:28322)
at Object.fireWith [as resolveWith] (preform.bundle-2c5735c41a.js:2:29067)
at h (preform.bundle-2c5735c41a.js:2:79888)
at XMLHttpRequest. (preform.bundle-2c5735c41a.js:2:82342)
and
VM4596 app.bundle-63b32aa50b.js:1 Uncaught TypeError: n.modal is not a function
at HTMLAnchorElement. (VM4596 app.bundle-63b32aa50b.js:1:1927)
at HTMLAnchorElement.dispatch (VM4595 preform.bundle-2c5735c41a.js:2:43057)
at g.handle (VM4595 preform.bundle-2c5735c41a.js:2:41041)
I have checked the entity form metadata and the table permissions and they are all fine.
What is weirder is that on the same page, I have an unrelated subgrid which allows you to edit the records it shows. When I edit those records, I also have a timeline with comments which works as normal (you can add comments, attachments, edit etc.)
My question is: has someone had this problem before or know how to fix it?