Bug Tracker

Modify

Ticket #6158 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

"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:
Blocking: Blocked by:

Attachments

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

Change History

comment:1 Changed 4 years ago by dmethvin

  • Component changed from unfiled to manipulation

Changed 4 years ago by dmethvin

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

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

comment:4 Changed 3 years ago by jboesch

comment:5 Changed 3 years ago by john

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

Landed.

comment:6 Changed 3 years ago by anonymous

----

==

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.