Skip to main content

Bug Tracker

Side navigation

#5875 closed bug (fixed)

Opened January 20, 2010 05:29AM UTC

Closed August 11, 2010 01:37AM UTC

.replaceWith() doesn't work with empty set

Reported by: johns Owned by:
Priority: major Milestone: 1.4.1
Component: manipulation Version: 1.4
Keywords: Cc:
Blocked by: Blocking:
Description

I have a function that calls $(selector).replaceWith("html here"). When the selector doesn't match any elements the replaceWith call causes the function "die" (the lines after it aren't executed). I don't see any errors in the Firebug console. This worked with 1.3.2. Same behavior with both min and normal versions.

Attachments (0)
Change History (2)

Changed June 14, 2010 12:22AM UTC by dmethvin comment:1

component: unfiledmanipulation

Changed August 11, 2010 01:37AM UTC by dmethvin comment:2

resolution: → fixed
status: newclosed