TypeError: Cannot read properties of undefined (reading 'tagName')

Created on 13 August 2024, 3 months ago
Updated 27 August 2024, 3 months ago

Problem/Motivation

When trying to drag and drop an element in a view, we get a javascript error : TypeError: Cannot read properties of undefined (reading 'tagName')

Steps to reproduce

  • Install and configure the module normally
  • Try to change the order of an element

Proposed resolution

I found that in this commit, a call to ajax() was changed to Ajax(), and by digging into core, those are two different functions.
https://git.drupalcode.org/project/sortableviews/-/commit/9f30605424d480...

Remaining tasks

Either change this back to ajax() or fix the module to use the Ajax() function properly.

🐛 Bug report
Status

Fixed

Version

1.2

Component

Code

Created by

🇨🇦Canada arakwar

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024