From: Alexander Ebert Date: Fri, 16 Mar 2012 16:11:12 +0000 (+0100) Subject: Fixed WCF.Sortable.List (it's now a Class object) X-Git-Tag: 2.0.0_Beta_1~1208 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3926f3e341f12d2aa54ed5400b4e5846458f1d49;p=GitHub%2FWoltLab%2FWCF.git Fixed WCF.Sortable.List (it's now a Class object) --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 1a21cfa85a..3d2002ca62 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -4223,9 +4223,10 @@ WCF.Sortable = {}; * * @param string containerID * @param string className + * @param integer offset + * @param object options */ -WCF.Sortable.List = function(containerID, className) { this.init(containerID, className); }; -WCF.Sortable.List.prototype = { +WCF.Sortable.List = Class.extend({ /** * action class name * @var string @@ -4367,7 +4368,7 @@ WCF.Sortable.List.prototype = { this._notification.show(); } -}; +}); /** * Provides a toggleable sidebar.