From: Alexander Ebert Date: Thu, 8 Mar 2012 15:36:18 +0000 (+0100) Subject: Added template event and fixed minor error X-Git-Tag: 2.0.0_Beta_1~1245^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8805f7bf62dc0a65aafe652f8815bff2824aa85a;p=GitHub%2FWoltLab%2FWCF.git Added template event and fixed minor error --- diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 0bc76091cc..de9895a3c7 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -25,6 +25,7 @@ WCF.User.init({$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}'); //]]> + {event name='javascriptInclude'} diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 3167af0a66..7e56b288d1 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2634,7 +2634,7 @@ WCF.Collapsible.Remote = Class.extend({ * * @param string containerID */ - _initContainer: function(containerID, container) { + _initContainer: function(containerID) { var $target = this._getTarget(containerID); var $buttonContainer = this._getButtonContainer(containerID); var $button = this._createButton(containerID, $buttonContainer);