seckit/listener library incorrectly defined

Created on 28 July 2023, over 1 year ago

Problem/Motivation

This library is defined incorrectly:

modules/contrib/seckit$ head -n3 seckit.libraries.yml 
seckit/listener:
  js:
    js/seckit.listener.js: {}

It should not have the module name prepended to the library name.

As a result, the JS library is not added to the admin form correctly.

Steps to reproduce

Load the admin form at /admin/config/system/seckit and use browser dev tools to look for the library.

This is easier if you disable pre-processing of the library:

seckit/listener:
  js:
    js/seckit.listener.js: {preprocess: false}

Proposed resolution

Fix the library definition.

Remaining tasks

Patch, commit etc..

User interface changes

The library should actually start working.

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom mcdruid 🇬🇧🇪🇺

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

Comments & Activities

Production build 0.71.5 2024