Make `wcf.media.upload.success` available in JS code
authorMatthias Schmidt <gravatronics@live.com>
Sun, 11 Sep 2016 12:17:26 +0000 (14:17 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 11 Sep 2016 12:17:26 +0000 (14:17 +0200)
com.woltlab.wcf/templates/mediaJavaScript.tpl
wcfsetup/install/files/acp/templates/mediaJavaScript.tpl

index 91b3b131d60ba1d1cb6c95027bad3fe042cea04c..39f248b2a404831f73dc66199609eb63c101a2c5 100644 (file)
@@ -13,7 +13,8 @@
                        'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
                        'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
                        'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
-                       'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}'
+                       'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
+                       'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}'
                });
                
                Permission.add('admin.content.cms.canManageMedia', {if $__wcf->session->getPermission('admin.content.cms.canManageMedia')}true{else}false{/if});
index 91b3b131d60ba1d1cb6c95027bad3fe042cea04c..39f248b2a404831f73dc66199609eb63c101a2c5 100644 (file)
@@ -13,7 +13,8 @@
                        'wcf.media.manager': '{lang}wcf.media.manager{/lang}',
                        'wcf.media.edit': '{lang}wcf.media.edit{/lang}',
                        'wcf.media.button.insert': '{lang}wcf.media.button.insert{/lang}',
-                       'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}'
+                       'wcf.media.search.noResults': '{lang}wcf.media.search.noResults{/lang}',
+                       'wcf.media.upload.success': '{lang}wcf.media.upload.success{/lang}'
                });
                
                Permission.add('admin.content.cms.canManageMedia', {if $__wcf->session->getPermission('admin.content.cms.canManageMedia')}true{else}false{/if});