Skip to content
Permalink
Browse files

Add ML id to non-images added to entries

This enables automatic updating of the link when moving or renaming the file in the ML
  • Loading branch information...
onli committed Feb 14, 2019
1 parent b9617be commit f1c796b129273da6738a10bd9d37b4b4ef737fae
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/2k11/admin/media_choose.tpl
@@ -175,7 +175,7 @@
</script>
{else}
<script>
block = '<a class="block_level opens_window" href="{$media.file.full_file}" title="{$media.file.realname|escape}">{$media.file.realname|escape}</a>';
block = '<a class="block_level opens_window" href="{$media.file.full_file}" title="{$media.file.realname|escape}"><!-- s9ymdb:{$media.file.id} -->{$media.file.realname|escape}</a>';
{serendipity_hookPlugin hookAll=true hook='frontend_image_add_unknown' eventData=$media}
if (parent.self.opener == undefined) {
// in iframes, there is no opener, and the magnific popup is wrapped

0 comments on commit f1c796b

Please sign in to comment.
You can’t perform that action at this time.