Skip to content

Commit

Permalink
BUGFIX: Access isNil function from Helper function to apply image to …
Browse files Browse the repository at this point in the history
…property
  • Loading branch information
crydotsnake committed Jun 13, 2024
1 parent 0d3da71 commit c9d3559
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 c9d3559

Please sign in to comment.