Skip to content

Commit

Permalink
fix media field in ISIS Template (#17205)
Browse files Browse the repository at this point in the history
* fix media field in ISIS Template

* fix media field in ISIS Template
  • Loading branch information
nielsnuebel authored and Michael Babker committed Mar 29, 2018
1 parent 59fff4e commit ac792d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions media/system/js/repeatable-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,12 @@
$select.attr('href', oldHref.replace(/&fieldid=(.+)&/, '&fieldid=' + inputId + '&'));
jMediaRefreshPreview(inputId);
});

// fix media field in ISIS Template
$row.find('.field-media-wrapper').each(function(){
var $el = $(this);
$el.fieldMedia();
});

// another modals
if(window.SqueezeBox && window.SqueezeBox.assign){
Expand Down
2 changes: 1 addition & 1 deletion media/system/js/repeatable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac792d8

Please sign in to comment.