Make popover trigger element available in load callback
authorMatthias Schmidt <gravatronics@live.com>
Sun, 24 May 2020 10:45:53 +0000 (12:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 24 May 2020 10:45:53 +0000 (12:45 +0200)
See #3318

wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js

index 4f56bbbd0e165ad69c04c0dddb759f84ade5f56a..e90798f123497ac93eae464b598a4762e28b7323 100644 (file)
@@ -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) {