Refactor / clean up the javascript

Created on 11 March 2024, 9 months ago

Problem/Motivation

There is a number of issues with the js.

E.g.
📌 Pointless code: Drupal.node_edit_protection = {} RTBC
🐛 Pointless code: The "all links and buttons" part has no effect Needs review
🐛 Use once() and context to prevent accumulated event listeners Needs review
🐛 Pointless code: String return value from onbeforeunload Needs work

Steps to reproduce

Proposed resolution

It will be easier to handle them in a big PR.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany donquixote

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