Bug Tracker

Opened 8 years ago

Closed 6 years ago

Last modified 6 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 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by dmethvin

Component: unfiledmanipulation

Changed 7 years ago by dmethvin

Attachment: test-6158.html added

comment:2 Changed 7 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 7 years ago by SlexAxton

Keywords: text replaceWith added
Milestone: 1.4.21.5
Priority: low
Status: newopen

comment:5 Changed 6 years ago by john

Milestone: 1.5.2
Resolution: fixed
Status: openclosed

Landed.

comment:6 Changed 6 years ago by anonymous

----

==

Note: See TracTickets for help on using tickets.