Skip to main content

Bug Tracker

Side navigation

#2177 closed bug (worksforme)

Opened January 16, 2008 02:45PM UTC

Closed January 18, 2008 03:44AM UTC

this.remove failed in event

Reported by: igo Owned by:
Priority: major Milestone: 1.2.3
Component: core Version: 1.2.2
Keywords: Cc:
Blocked by: Blocking:
Description

Just look on this

$("#test-case-34").slideUp("fast", function() {
	// this cause infinite loop of errors:
	//this.remove();
	// this works:
	//$("#test-case-34").remove();
});
Attachments (1)
  • jquery_test.html (0.8 KB) - added by davidserduke January 18, 2008 03:43AM UTC.

    test case

Change History (1)

Changed January 18, 2008 03:44AM UTC by davidserduke comment:1

resolution: → worksforme
status: newclosed

I created a test case and it works fine for me. It looks like you are missing the $(this) in your example and it should instead be

$(this).remove()

If I'm missing something please feel free to reopen the bug with additional information.