Skip to content

Commit

Permalink
Update video.js (#747)
Browse files Browse the repository at this point in the history
fix passing the correct allowedTypes from config to data (which is then passed to the helper to build the popup dialog)
  • Loading branch information
roland4432 authored Nov 19, 2024
1 parent aa26912 commit cda3c50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/js/pimcore/document/editables/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pimcore.document.editables.video = Class.create(pimcore.document.editable, {
initialize: function($super, id, name, config, data, inherited) {
$super(id, name, config, data, inherited);

data.allowedTypes = config.allowedTypes;
this.data = data;
},

Expand Down

0 comments on commit cda3c50

Please sign in to comment.