Inline editing not working on admin option value-like screens
For example the Financial Types screen, or the custom fields screen, or the phone types screen.
It's because of a malformed resource path and is related to the path changes in 5.23 or thereabouts. It's working in 5.20.0.
The url it's trying to load is /sites/all/modules/civicrm/packagesjquery/plugins/jquery.jeditable.min.js?r=pIGHv
Seems to be coming from here: https://github.com/civicrm/civicrm-core/commit/3130950c51d3ceadc913495e8dc52125bb22503e#diff-db0ac48007cde9731cada1cf69334517
(EDIT) The regression specifically arose in 5.23.1. The content of variable packagesBase
changed to lose its trailing /
, which in turn breaks three things:
- Inline editing (loading key Javascript file)
- Profile editor (loading related CSS file)
- CKEditor <=> KCFinder Integration (linking to file-manager end-point)