MyBB Community Forums

Full Version: Quick edit function working intermittently
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
Thanks Leefish! I just found my issue with the quick edit button not showing in the first post was because of a position:relative applied to the parent postbit div. But yours fixed my spoiler code that uses that class and the quick edit button for all posts.

Cheers.
Pages: 1 2