WoltLab/WCF — pull request #339 by Gravatronics (2011-12-28 18:18:18+00:00)
Title: Fixes bug in workaround for jQuery's data

The current version doesn't consider calls with no arguments like in `WCF.Search.Base._executeCallback()`.

Further it fixes a bug that occurs if you work with the data returned by calls like `var data = element.data();` if you want to access `data.objectID` which doesn't exist at the moment, just `data.objectId` exists!