BuddyDev

Search

BP Ajax Registration – Request to close it without clicking on the X

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5410

    Hi Support,

    We will like the BP Ajax Registration pop up to close when click outside of the box, instead of just using the X.

    Please advise.

    Thanks and Regards.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2487
    Ravi on #5417

    Hi Brandon,

    Please customize the following file “bp-ajax-register.js” on line no. 110 and change the following section

    
    closeOnBgClick: false,
    

    change it to

    
    closeOnBgClick: true,
    

    Thank You
    Ravi

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5431

    Hi Ravi,

    After i made the changed as per your advise, I am not able to input anything on registration, as it will automatic close the ajax registration whenever I click on the fields.

    Please advise.

    Thanks and Regards

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2487
    Ravi on #5441

    Hi Brandon,
    Please revert that. I am sorry for the trouble. We are using magnific popup as our modal js and though the plugin has options for your specific case
    http://dimsemenov.com/plugins/magnific-popup/documentation.html#options

    Setting the option is does not make it work. I just tested on my local and see the problem. I will look at the jquery plugin and see if I can modify it, but for now, Please disable the change I suggested above.

You must be logged in to reply to this topic.

This topic is: not resolved