- Issue created by @taote
When I click on expand paragraph in an edit form, errors like this are shown in the console:
Uncaught Error: Syntax error, unrecognized expression: #
at I.error (jquery.min.js?v=3.7.1:2:11769)
at Y (jquery.min.js?v=3.7.1:2:17234)
at re (jquery.min.js?v=3.7.1:2:20008)
at Function.I [as find] (jquery.min.js?v=3.7.1:2:7520)
at ce.fn.init.find (jquery.min.js?v=3.7.1:2:21991)
at new ce.fn.init (jquery.min.js?v=3.7.1:2:22483)
at ce (jquery.min.js?v=3.7.1:2:1077)
at loadAjaxBehavior (ajax.js?v=10.3.8:44:29)
at Array.forEach (<anonymous>)
at Object.attach (ajax.js?v=10.3.8:52:40)
Then If I delete a file from a field also shows the same error in the console, and then Javascript doesn't work, when I click on fold paragraph the page refreshes.
This is the call in ajax.js where the error is triggered:
// Load all Ajax behaviors specified in the settings.
Object.keys(settings.ajax || {}).forEach(loadAjaxBehavior);
And then:
once('drupal-ajax', $(elementSettings.selector)).forEach((el) => {
Any ideas?
Active
1.18
Code