disable-form-elements.js reads property on null

Created on 5 June 2024, 9 months ago
Updated 18 September 2024, 5 months ago

Problem/Motivation

I'm seeing this console log:

TypeError: Cannot read properties of null (reading 'callback')
    at disable-form-elements.js?v=1.x:7:57

That line is: if ($.inArray('ajaxGetDisplayOptions', instance.callback) !== -1) {

Steps to reproduce

Select a View in the widget such that the ajax callback loads the possible displays. View the console.

Proposed resolution

This was probably introduced (by me) while trying to do D10 compatibility. See #21 and #22 on #3299434: Automated Drupal 10 compatibility fixes.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

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

Comments & Activities

Production build 0.71.5 2024