Chatbot: Resolve JS errors

Created on 19 November 2024, about 1 month ago

Problem/Motivation

There are two related issues in form-stream.js:

1. The attachBehaviours call gives a console error because it should be on an Element rather than the array:
```
Uncaught TypeError: The element must be an instance of Element
at u (once.js:122:11)
at i (once.js:156:25)
at a (once.js:280:5)
at Object.attach (arrow-navigation.js?v=10.5.0-dev:17:7)
at drupal.js?v=10.5.0-dev:166:24
at Array.forEach ()
at Drupal.attachBehaviors (drupal.js?v=10.5.0-dev:162:34)
at Object. (form-stream.js?sn71ha:74:14)
```

2. The JS from https://www.drupal.org/i/3487717 was incorrectly removed in a later merge.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇬🇧United Kingdom justanothermark

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