Skip to content

Commit

Permalink
Merge pull request #213 from ezsystems/EZP-28578-fix-media-validation
Browse files Browse the repository at this point in the history
EZP-28578: User can't publish content item with ezmedia
  • Loading branch information
Łukasz Serwatka committed Dec 18, 2017
2 parents 6ed1fc6 + 45f9bd5 commit df321d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Resources/public/js/scripts/fieldType/ezmedia.js
Expand Up @@ -57,6 +57,8 @@
if (!input.closest('.ez-field-edit__preview').hasAttribute('hidden')) {
return result;
}

return { isError: false };
}
}

Expand Down

0 comments on commit df321d6

Please sign in to comment.