Skip to main content

Bug Tracker

Side navigation

#10517 closed bug (fixed)

Opened October 18, 2011 06:06AM UTC

Closed July 10, 2012 02:17PM UTC

Last modified July 12, 2012 02:21AM UTC

.before() and .after() give unexpected return type

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: manipulation Version: 1.7b2
Keywords: Cc:
Blocked by: Blocking:
Description

As seen at: http://jsfiddle.net/beL4x/ (Spot the odd one out...)

The return value of .before() and .after() is affected when the object is created in a particular way. It is also affected by previous uses of the object as an argument to a function.

Attachments (0)
Change History (3)

Changed October 19, 2011 05:01PM UTC by timmywil comment:1

component: unfiledmanipulation
milestone: None1.next
priority: undecidedlow
status: newopen

Changed July 10, 2012 02:17PM UTC by Uri Gilad comment:2

resolution: → fixed
status: openclosed

Fix #10517. before() and after() on disconnected node should return multiple nodes. Closes gh-851.

Changeset: f843a7062fef5a262c244575712b8173ced7c1a2

Changed July 12, 2012 02:21AM UTC by dmethvin comment:3

#8759 is a duplicate of this ticket.