We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Yes, it got lost somewhere in the bowels of ExtJS, and now that it's been recovered it's actually a bit overactive at times.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
    • Quote from: sottwell at Jan 22, 2014, 04:11 PM
      Yes, it got lost somewhere in the bowels of ExtJS, and now that it's been recovered it's actually a bit overactive at times.
      It actually didn't exist at all in Revo until added in 2.2.11.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 2168
        • 9 Posts
        ACK! It got worse!!

        I use MODx Cloud, so I easily upgraded to 2.2.11-pl. I'm using both Chrome 32.0.1700.76 m and Firefox 26.0. I have cleared both browser caches to the beginning of time.

        If I visit any resource, make NO CHANGES, and try to navigate to another page, it triggers the pop-up. If I even try to change the template, it triggers the pop-up. If I try to get up from my chair... pop-up. Sneeze... pop-up.

        Something very weird is going on, because the pop-up is being triggered even if the "Save" button remains grey. If I make a tiny change (thus changing the "Save" button to solid), click "Save", and try to navigate away, the freakin' pop-up appears!

        Naturally the update.js file is different so the aforementioned workaround no longer works around the problem. Anyone have any suggestions?
          • 8975
          • 51 Posts
          Same here, clean new installation done tonight with the new Revo downloaded today and every time I try to move in another page I get the annoying popup!!

          Also, I cleared the chrome cache to no awail sad
            Graphic designer, Web designer, Illustrator and Boardgames designer (and illustrator)
            See my illustrations here: http://erebus74.deviantart.com/gallery/
            • 24983
            • 59 Posts
            This fix hack did the trick for me in 2.2.11:

            https://github.com/modxcms/revolution/blob/release-2.2/manager/assets/modext/widgets/resource/modx.panel.resource.js#L66-69

            Remember to force refresh (ctrl+f5) your manager for the fix to take effect. [ed. note: rich last edited this post 10 years, 3 months ago.]
              • 42511
              • 60 Posts
              Hi,
              I upgraded from 2.2.10 to 2.2.11(not on the cloud on other remote hosting),last night and now am getting the popup message in Firefox, on resources that have not been altered in any way, Save button is not enabled but the message still appears. I've manually deleted files from the cache, run ccleaner to clear the browser cache but that makes no difference. The fix that Rich mentions from github looks the same as the code that's there. I think I'll have to comment out those lines as suggested elsewhere.
              Thanks
              Allan
              N.B. Just a note for anyone else who's started to give their age in Hexadecimal. In order to comment out those lines it might be necessary to change permissions on the file. If you don't you may start to suspect the onset of premature senility smiley [ed. note: allan1 last edited this post 10 years, 3 months ago.]
              • Hi folks,

                As noted on this thread I spent some time debugging this and have prepared a patch. If you're interested in the nitty gritty of this nasty bug, check this post in the same thread.

                While you could comment out the lines Rich mentions to disable the feature entirely, the new patch keeps the feature when you want it (accidental navigation with actual unsaved changes) while getting rid of the false positives people are seeing since 2.2.11. In the other thread, Jason said he was considering a new patch release to fix the problem, and now that a proper patch is available, I suppose that wont take long.
                  Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                  Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                  • 8975
                  • 51 Posts
                  Hurrà!
                  Tomorrow I will install it and see! ^_^

                  Very thanks for developing it!
                    Graphic designer, Web designer, Illustrator and Boardgames designer (and illustrator)
                    See my illustrations here: http://erebus74.deviantart.com/gallery/
                    • 42511
                    • 60 Posts
                    That is good news,
                    Many thanks to all of you knowledgeable folks.
                    cheers
                    Allan
                    • I'm having this same problem in Firefox. It's a new site, nothing much going on yet, only two resources, two templates, two chunks, Wayfinder, TimyMCE and Formit installed. The popup window "Are you sure you want to leave this page" is shown wherever adn whenever I click when a resource is opened, edited or not.

                      The patch seems to work though. [ed. note: handjes last edited this post 10 years, 3 months ago.]