Uncaught TypeError: $action.next(...).textContent is not a function

Created on 25 September 2024, about 2 months ago

Problem/Motivation

When updating from Beta11 to 1.0 there is now a JS bug in rh-node.js this is due to textContent is being called on a jQuery object, which does not have a textContent method. Instead, you should use the jQuery text() method.

Steps to reproduce

Visit an edit page for content type with rabbit hole settings.

Proposed resolution

Convert back to using $action.next('label').text()

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States NicholasS

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024