#6820 closed defect (bug) (fixed)
Invalid HTML in message form
Reported by: | tfrommen | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Messages | Keywords: | has-patch |
Cc: |
Description
When you choose someone to send a message to, a <li>
tag for the according user will be inserted into the markup. The problem here is that this leads to nested <li>
tags without a new list tag. For instance like so:
<ul class="first acfb-holder"> <li> <li class="friend-tab" id="un-12345"> ... </li> <input type="text" id="send-to-input" ...> </li> </ul>
Change History (3)
Note: See
TracTickets for help on using
tickets.
Thanks for the ticket, @tfrommen. This autocomplete library is kinda odd: it expects the
<input>
field to be inside of an<li>
in the same<ul>
as the clicked results. There's an error in the JS that causes clicked results to be put inside of the input's list item, rather than alongside.