#2971 closed defect (bug) (fixed)
Threaded reply form JS does not work
| Reported by: | r-a-y | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | Appearance - Theme Compatibility | Version: | trunk |
| Severity: | normal | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
If the reply form should show up before the forum post, let me know and I'll repatch.