XF JS Events don't bubble up the DOM tree

  • Thread starter Thread starter Lukas W.
  • Start date Start date

Lukas W.

Guest
Member
It looks like all events triggered with XF.customEvent are configured to not bubble up through the DOM. The constructor specifically deletes the bubbles option from the config. As such, it is impossible to attach any listener to such an event if the event target is not immediately present when the JS is loaded, such as when the target is inside a modal.

In my specific instance I have an auto-complete field inside a modal, that I have attached a listener to with the code below...

Read more
XF JS Events don't bubble up the DOM tree

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top