Page Title changes to "undefined" when using browser back button

Home Forums Calendar Products Events Calendar PRO Page Title changes to "undefined" when using browser back button

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #96580
    djconqueso
    Participant

    In Chrome and Safari, when you go from the list of events to an individual event and then use the browser back button, the page title changes to “undefined”
    You can see it here:
    http://www.kibi.org/events/category/projects/
    I don’t see any errors in the JS console, and I don’t see the issue in Firefox.

    #97238
    Barry
    Member

    Sorry to hear you are hitting problems, @djconqueso.

    Thanks also for trying our standard troubleshooting steps (deactivating all other plugins and switching to a default, unmodified theme) – can you confirm if that had any impact on this? I can’t replicate it locally or on our demo site using Chrome, for instance, even though I can see the problem on your own site.

    Thanks!

    #97292
    djconqueso
    Participant

    It displays the same behavior when in default theme. When it goes back, it loads the page title correctly, then the events list gets faded back in opacity and then the page title changes to “undefined”. Is that trying to reload the page contents and title via AJAX or something? If it is, is there a way I could stop it or even override the page title functionality via my functions file?

    #97294
    djconqueso
    Participant

    I also just noticed the your demo site doesn’t show the same opacity fading back behavior that my does when you use the back button—it just immediately loads the previous page. Is this a preference / setting on my site that could be causing the issue?

    #97304
    djconqueso
    Participant

    I’ve also changed my version of jQuery to 10.2.1 and it now displays the URL instead of the “undefined” message. Does that help you narrow in on anything?

    #97687
    Barry
    Member

    Seems to be working perfectly now – did you make any further changes besides the jQuery version?

    #97702
    djconqueso
    Participant

    I only changes the jQuery version. I don’t see the behavior as working perfectly as it now change it to the URL vs. the “undefined” when it should be using the page title. Is there a way I could stop it or even override the page title functionality via my functions file?

    #97744
    Barry
    Member

    It seems very much like something that is specific to your site.

    It displays the same behavior when in default theme.

    To be absolutely clear, at the same time as switching theme did you also deactivate all other plugins?

    #103852
    Barry
    Member

    It’s been a while so I’ll go ahead and close the thread. Of course if we can help with anything else please do go ahead and create a new one. Thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Page Title changes to "undefined" when using browser back button’ is closed to new replies.