Skip to content

Commit

Permalink
Update media.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Grammatikogianni committed Aug 29, 2017
1 parent 962f566 commit e749f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/joomla/form/field/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
. '&fieldid={field-media-id}&path=' . $folder);
?>
<joomla-field-media class="field-media-wrapper"
type="image" <? // @TODO add this attribute to the field in order to use it for all media types ?>
type="image" <? /* @TODO add this attribute to the field in order to use it for all media types */ ?>
base-path="<?php echo JUri::root(); ?>"
root-folder="<?php echo ComponentHelper::getParams('com_media')->get('file_path', 'images'); ?>"
url="<?php echo $url; ?>"
Expand Down Expand Up @@ -143,4 +143,4 @@
</div>
<?php endif; ?>
</div>
</joomla-field-media>
</joomla-field-media>

0 comments on commit e749f4f

Please sign in to comment.