Clicking save won't close the modal when the current page has a (language) prefix in the url

Created on 7 March 2023, almost 2 years ago

Problem/Motivation

On a multilanguage site which is configured to add the languages as URL prefix, the save button of the modal won't do anything. You can notice an javascript error in the console

Steps to reproduce

- enable a second language
- configure the language negotiation to get the language from the URL prefix
- create a translated node, so that the URL of the node is sth like /LANG/node/nid
- edit a paragraph
- try to save

Proposed resolution

- the click on the save button should save the paragraph content and close the modal.

Remaining tasks

- provide fix

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany stmh

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

Comments & Activities

Production build 0.71.5 2024