Skip to content

Commit

Permalink
Merge pull request #5140 from crydotsnake/bugfix/image-not-applied-to…
Browse files Browse the repository at this point in the history
…-property-mediabrowser

BUGFIX: Access isNil function from Helper function to apply selected image to property
  • Loading branch information
kitsunet authored Jun 13, 2024
2 parents 0d3da71 + c9d3559 commit fc405ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.Media.Browser/Resources/Public/JavaScript/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit fc405ec

Please sign in to comment.