Jump to the post that solved this thread.
Solved: 6 Years, 1 Month, 2 Weeks ago [JavaScript] Quick edit function working intermittently
#11
Solved: 6 Years, 1 Month, 2 Weeks ago
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.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#12
Solved: 6 Years, 1 Month, 2 Weeks ago
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.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)