Added template event and fixed minor error
authorAlexander Ebert <ebert@woltlab.com>
Thu, 8 Mar 2012 15:36:18 +0000 (16:36 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 8 Mar 2012 15:36:18 +0000 (16:36 +0100)
wcfsetup/install/files/acp/templates/header.tpl
wcfsetup/install/files/js/WCF.js

index 0bc76091cc1da6d53648db48cead14daf216b2e9..de9895a3c7bf6f8f1d76cd82655b8af57fc25bfd 100644 (file)
@@ -25,6 +25,7 @@
                WCF.User.init({$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
                //]]>
        </script>
+       {event name='javascriptInclude'}
        
        <!-- Stylesheets -->
        <link rel="stylesheet/less" type="text/css" media="screen" href="{@$__wcf->getPath()}acp/style/wcf.less" />
index 3167af0a66c4e11888f3c90e1980d87352149838..7e56b288d148777b8dd6b7aa797efbcc470e2b73 100644 (file)
@@ -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);