#2971 closed defect (bug) (fixed)
Threaded reply form JS does not work
Reported by: | r-a-y | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Appearance - Theme Compatibility | Keywords: | has-patch |
Cc: |
Description
Turn on threaded replies.
Next, visit a forum thread with at least two posts.
When you click on the "Reply" link for the second post, the following JS error occurs:
Not enough arguments to Node.insertBefore.
Attached patch fixes this by switching reply.parentNode.insertBefore(respond);
to reply.parentNode.appendChild(respond);
Now the threaded reply form correctly shows up just beneath the forum post.
Tested on 2.5.10 and 2.6-trunk.
Attachments (1)
Change History (6)
#2
@
8 years ago
#2994 was marked as a duplicate.
Patch in #2994 has an alternative way of solving the problem (see my comment above - comment:1):
https://bbpress.trac.wordpress.org/attachment/ticket/2994/2994.patch
If the reply form should show up before the forum post, let me know and I'll repatch.