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

Not a Bug Overlay deCache form submit not calling onClose event?

Discussion in 'Resolved Bug Reports' started by Uniphix, Dec 11, 2013.

  1. Uniphix

    Uniphix Active Member

    I am not sure if this is a bug but for some reason when I look through the XenForo js code I am noticing that if you don't setup a cache method that it should deCache correctly.

    Well when I submit a form or something that I don't want cached it should deCache that overlay is my understanding. Although what happens is when I manually close the overlay by calling $form.closest('.xenOverlay').overlay().close(); it does not call the onClose event for some reason.
  2. Uniphix

    Uniphix Active Member

    Nevermind, I believe this is working as attended, it was because I was doing

    data-cache-overlay rather than data-cacheOverlay or data-cacheoverlay
  3. Uniphix

    Uniphix Active Member

    I noticed that what you guys did was that you changed all the data('cacheOverlay') to data('cacheoverlay') which is what is messing a few of my addons. i really think that it should support either

    data-cache-overlay, data-cacheOverlay or even data-cacheoverlay. But apparently data-cache-overlay = "cacheOverlay" in javascript, and where data-cacheOverlay = "cacheoverlay"... Wished it was case-insensitive. because it means I have a lot of fixing to do...
  4. Chris D

    Chris D XenForo Developer Staff Member

    SneakyDave likes this.

Share This Page