Issue when adding an asset to a page

When I try to add an asset to a page, the asset is not added to the “asset box” (the asset reference stays empty) and I get the following error in the browser console:

Uncaught Error: Syntax error, unrecognized expression: input[type="hidden"
    jQuery 5
    <anonymous> https://my.omeka.s/application/asset/js/site-page-edit.js?v=4.0.0:426

I’m using the last version of Omeka (4.0.0).

This is fixed in last commits and will be released in next fix version.

Great! Thank you @Daniel_KM!

Omeka 4.0.1 is out and contains this fix. It’s available in the usual place.

Good news, thank you!

Problem fixed.