2014-12-07, 01:50 AM
Ok, so here is the answer (thank you Destroy) - my postbit was perfect with a .post_body in all the right places - but I had a .post_body in the postbit_editedby template.
As the js was looking for the post_body class and it's associated pid then the postbit_editedby template - which had no pid - was causing an error - there was no pid in the template.
How did I not notice this? Because the edited by message for admins was switched off - and so I did not see that there was a common factor - the post being edited.
Hopefully this will be a helpful answer to anyone who finds this thread in the future.
As the js was looking for the post_body class and it's associated pid then the postbit_editedby template - which had no pid - was causing an error - there was no pid in the template.
How did I not notice this? Because the edited by message for admins was switched off - and so I did not see that there was a common factor - the post being edited.
Hopefully this will be a helpful answer to anyone who finds this thread in the future.