Bug Tracker

Opened 10 years ago

Closed 10 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)

resource_bug.txt (3.8 KB) - added by ItsAshcouk 10 years ago.
Sources of the potential bug & code example for justification

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by ItsAshcouk

Attachment: resource_bug.txt added

Sources of the potential bug & code example for justification

comment:1 Changed 10 years ago by john

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.