From 2ae5f8b86246c7ce9b2ebc86698ee6f809dba83c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 24 May 2020 12:45:53 +0200 Subject: [PATCH] Make popover trigger element available in load callback See #3318 --- .../install/files/js/WoltLabSuite/Core/Controller/Popover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1