1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not correct sees template in pop-up window created with OverlayTrigger

Discussion in 'XenForo Development Discussions' started by Lender, Jun 24, 2015.

  1. Lender

    Lender New Member

    Hi, I try create buttons social network "share42" in pop-up window.
    I did route prefix "social-likes" and:
    - if I open this as web page - all draw good
    - if I open this in modal pop-up - buttons not draw ( I think JS dont work in modal pop-up)

    Do somebody know that need do, to correct draw?

    Code of drawing template:
    <div class="formOverlay">
        <h2 class="heading ">Поделиться в соц. сетях</h2>
        <p>Hello world!!!</p>
        <xen:require js="js/Lender/SocialLikesModal/share42.js" />
        <div class="share42init" ></div>
        <div style="clear:both"></div>
    Sees route prefix in web-page:

    Sees route prefix in modal pop-up: (social-likes buttons do not draw!!! why?)
    В модальном окне.png

Share This Page