Opened 13 years ago
Closed 13 years ago
#5465 closed bug (invalid)
remove() feature removes all siblings
Reported by: | ItsAshcouk | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a slight issue with some jquery where i believe its a bug issue.
When an image is clicked it will duplicate the first child selected from the table, and append the content to the end of the table, also updating the tr id.
When the user deletes this tr, it deletes every TR after the one selected including the tr selected, i have tried a different variety of child selectors same problem.
Ive attached my code for you to see.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | resource_bug.txt added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is actually a bug with your code - you're appending the cloned TR elements to a TR itself. You'll need to append them to the table or insert them after the last TR.
Sources of the potential bug & code example for justification