Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#6158 closed bug (fixed)

"elems is undefined" JavaScript error calling $(this).text() in .replaceWith() argument

Reported by: jablko Owned by:
Priority: low Milestone: 1.5.2
Component: manipulation Version: 1.4.1
Keywords: text, replaceWith Cc:
Blocked by: Blocking:

Attachments (1)

test-6158.html (366 bytes) - added by dmethvin 6 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by dmethvin

  • Component changed from unfiled to manipulation

Changed 6 years ago by dmethvin

comment:2 Changed 6 years ago by dmethvin

Confirmed; test case attached.

It seems like the function should be called in a this.each() for the matched set, and that's not happening.

comment:3 Changed 5 years ago by SlexAxton

  • Keywords text replaceWith added
  • Milestone changed from 1.4.2 to 1.5
  • Priority set to low
  • Status changed from new to open

comment:5 Changed 5 years ago by john

  • Milestone set to 1.5.2
  • Resolution set to fixed
  • Status changed from open to closed

Landed.

comment:6 Changed 5 years ago by anonymous

----

==

Note: See TracTickets for help on using tickets.