From: Matthias Schmidt Date: Mon, 26 Dec 2011 20:49:21 +0000 (+0100) Subject: Adds default implementation of WCF.Collapsible.Remote._getObjectID() X-Git-Tag: 2.0.0_Beta_1~1472^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eac3b73436864c715b2886c89bfcc6e61be842a4;p=GitHub%2FWoltLab%2FWCF.git Adds default implementation of WCF.Collapsible.Remote._getObjectID() --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 1635192f86..127fd1d58e 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2587,7 +2587,9 @@ WCF.Collapsible.Remote = Class.extend({ * @param integer containerID * @return integer */ - _getObjectID: function(containerID) { }, + _getObjectID: function(containerID) { + return $('#' + containerID).data('objectID'); + }, /** * Returns additional parameters.