Fixed issue in media management
authorMarcel Werk <burntime@woltlab.com>
Mon, 6 Jun 2016 20:38:08 +0000 (22:38 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 6 Jun 2016 20:38:08 +0000 (22:38 +0200)
wcfsetup/install/files/acp/templates/mediaAdd.tpl

index 6172471bd83c4d9a308fe0c1f135c70d26a96f5e..1a71b4299532725f243d250f7e97e52ff8d64bfb 100644 (file)
                        
                        {if !$isMultilingual}
                                elById('title').value = '{$i18nPlainValues['title']|encodeJS}';
-                               elById('title').caption = '{$i18nPlainValues['caption']|encodeJS}';
-                               elById('title').altText = '{$i18nPlainValues['altText']|encodeJS}';
+                               elById('caption').value = '{$i18nPlainValues['caption']|encodeJS}';
+                               elById('altText').value = '{$i18nPlainValues['altText']|encodeJS}';
                        {/if}
                });
        </script>