From c9d3559f28c84de058bb512b3ddff40a2a1b9ede Mon Sep 17 00:00:00 2001 From: Simon Krull Date: Thu, 13 Jun 2024 10:34:44 +0200 Subject: [PATCH] BUGFIX: Access isNil function from Helper function to apply image to property --- Neos.Media.Browser/Resources/Public/JavaScript/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.Media.Browser/Resources/Public/JavaScript/select.js b/Neos.Media.Browser/Resources/Public/JavaScript/select.js index 5aa77b035f4..aaf3b823f5d 100644 --- a/Neos.Media.Browser/Resources/Public/JavaScript/select.js +++ b/Neos.Media.Browser/Resources/Public/JavaScript/select.js @@ -55,7 +55,7 @@ window.addEventListener('DOMContentLoaded', () => { } const localAssetIdentifier = asset.dataset.localAssetIdentifier; - if (localAssetIdentifier !== '' && !NeosCMS.isNil(localAssetIdentifier)) { + if (localAssetIdentifier !== '' && !NeosCMS.Helper.isNil(localAssetIdentifier)) { NeosMediaBrowserCallbacks.assetChosen(localAssetIdentifier); } else { if (asset.dataset.importInProcess !== 'true') {