• Hi guys!

    I have a small issue with your plugin. After page refresh all toggles are setup to OFF no matter what..
    Any suggestions?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Just wondering how the rebuild is going? I’d be glad to test when you’re to that point. Thanks!

    Fernando, I found a key to this issue – it happens when the ‘Refresh page after updating preferences’ setting is on, and the plugin seems to work fine with that off. It’s probably just asynchronous calls made with the ajax (updating cookie settings) and page refresh at the same time, maybe the page refresh call is placed before the ajax, so the reply to the page refresh, while not served from cache, actually has set-cookie values from the old settings (since they haven’t updated in the back end yet)?

    Anyways, the change in cookie handling might well fix it, and for the short term turning off ‘Refresh page after updating preferences’ is a viable workaround. I’ve not dug into how that feature is handled, but perhaps just changing the page refresh call to happen from the ajax response would make everything work.

    [edit]: in further testing, it’s not completely right with that setting off, I still have inconsistencies in trying to change settings, but it has certainly improved.

    • This reply was modified 6 years, 8 months ago by jnorell. Reason: further testing
    Plugin Author Fernando Claussen

    (@fclaussen)

    Still working on it. I am being requested a lot to work on other important things. I’ll get this out asap

    Quick ping .. still in the works?

    Thanks

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Toggle on/off doesn’t work’ is closed to new replies.