Ajax call fails when site in subdirectory

Created on 18 December 2019, over 4 years ago
Updated 30 January 2024, 5 months ago

When a site is installed in a subdirectory, the Ajax call fails and the user link is incorrect.

I fixed by updating lines 89 and 114 of plugin.js to include the drupalSettings.path.baseUrl value:

url: drupalSettings.path.baseUrl + "ckeditor-mentions/ajax/" + substr + "?t=" + date.getUTCSeconds(),

href = drupalSettings.path.baseUrl + 'user/' + content.data[key].uid;

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States john.p.baldwin.jr

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024