Skip to main content

Bug Tracker

Side navigation

#5465 closed bug (invalid)

Opened November 06, 2009 04:42PM UTC

Closed November 07, 2009 02:22PM UTC

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:

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 November 06, 2009 04:44PM UTC.

    Sources of the potential bug & code example for justification

Change History (1)

Changed November 07, 2009 02:22PM UTC by john comment:1

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.