From: Matthias Schmidt Date: Sun, 24 May 2020 10:45:53 +0000 (+0200) Subject: Make popover trigger element available in load callback X-Git-Tag: 5.3.0_Alpha_1~264 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ae5f8b86246c7ce9b2ebc86698ee6f809dba83c;p=GitHub%2FWoltLab%2FWCF.git Make popover trigger element available in load callback See #3318 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js index 4f56bbbd0e..e90798f123 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js @@ -339,7 +339,7 @@ define(['Ajax', 'Dictionary', 'Environment', 'Dom/ChangeListener', 'Dom/Util', ' var handler = _handlers.get(elementData.identifier); if (handler.loadCallback) { - handler.loadCallback(elementData.objectId, this); + handler.loadCallback(elementData.objectId, this, elementData.element); } else if (handler.dboAction) { var callback = function(data) {