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

Refreshing visitor tab

Discussion in 'XenForo Development Discussions' started by KoolKrafter, Feb 7, 2014.

  1. KoolKrafter

    KoolKrafter Member

    Hello,
    I have added a custom visitor tab to my site with a template modification. One of my pages adds an item (using AutoValidator so it isn't reloaded) to the database which is shown in the visitor tab. However, I need to reload the page for it to reload the popup inside the tab - I don't want to have to reload it - I just need it to fetch the popup again. I have looked through the xenforo javascript and haven't been able to find a way to do this.
    Thanks in advance!
     
  2. KoolKrafter

    KoolKrafter Member

    Okay, I've worked out how to make it refresh, by setting to 'loading' variable to null.
    However I can't seem to access this variable from the javascript console or my other javascript file. I don't reallyunderstand jQuery that well so could someone explain how to do this please?
     
  3. KoolKrafter

    KoolKrafter Member

    Don't worry - I scrapped the AJAX as it wasn't working.
     

Share This Page