Solved XF.showOverlay() not working from template

This topic has been solved
S

Siropu

Guest
Code:

Code:
<xf:js>
    XF.showOverlay(XF.getOverlayHtml({title: 'my title', html: '<div>my html</div>'}));
</xf:js>

Screenshot from 2024-07-01 17-25-06.webp

Also as a side note, it would be great if you could pass multiple classes to the className of the options object.

Continue reading...