We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23624
    • 11 Posts
    In manager, when I leave form an UNCHANGED document the browser show me a "Navigation Confirm" popup asking me if I want to leave with unsaved changes.
    I noted that it is launched when the document type is "Resource" with Rich Text option enabled (TinyMCE) or WebLink.
    It's really annoying, how to resolve it?

    Thank you.

    My system:
    MODX: Revolution 2.2.11-pl (traditional)
    PHP: 5.3.3-7+squeeze18
    MySQL: 5.1.58-1~dotdeb.1-log
      • 27708 MODX Staff
      • 2,502 Posts
      Was this site an upgrade from 2.2.10 that you've been previously logged into? What constitutes a change is the cursor moving in any field. Not saying there is not a bug here but just want to narrow down the paramaters of the issue.
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
        • 24374
        • 322 Posts
        Same here. Click a resource in the tree, then click another resource without doing anything at all, not even moving the mouse over anything, and the message appears. Upgraded from 2.2.10.

        If you're going to add a feauture like this, please give as a system setting to turn it off. Is there one? [ed. note: rainbowtiger last edited this post 12 years, 8 months ago.]
          • 24374
          • 322 Posts
          Wow, it gets worse. I just open a resource, changed it from a document to a weblink, then saved it, and got the message "are you sure you want to leave the page"!! Talk about confusing . . .
            • 3749
            • 24,544 Posts
            There is a possible fix in this thread: https://forums.modx.com/thread/?thread=88506&page=2
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 24983
              • 59 Posts
              This is happening for me as well in Revo 2.2.11. I have testet in the following browsers: Firefox, Chrome and IE, but the same message pops up in all three browsers. Before it was only in Chrome, but now it is also Firefox and IE.

              BobRay, I have tried the fix you are linking till, but the line in questien in update.js does not exist.

              Hope you guys can find a solution for this as my client is complaining. :-/

              Regards

              rich
                • 22303 MODX Staff
                • 10,725 Posts
                Go re-read the part of the thread that talks about force refreshing the javascript in your browser after an upgrade. The changes in 2.2.11 make the unwanted alerts go away in the most recent Chrome 32 updates AND prevent navigating away from a Resource when you have actually made changes.
                  • 24983
                  • 59 Posts
                    • 23624
                    • 11 Posts
                    Quote from: smashingred at Jan 23, 2014, 12:39 PM
                    Was this site an upgrade from 2.2.10 that you've been previously logged into? What constitutes a change is the cursor moving in any field. Not saying there is not a bug here but just want to narrow down the paramaters of the issue.

                    Yes, the site was upgraded from 2.2.10, I cleared the cache (also used anonymous navigation), but the issue still persists.
                    Message is shown also without moving cursor in the fields.

                    Thanks
                      • 24983
                      • 59 Posts
                      As mentioned in the other thread this is happenig more frequently now after upgrading to 2.2.11. On Articles it is happening all the time. Would be great if somebody has a fix as my customer is complaining. I have cleared the browser cache, logged out, logged in, done a force refresh (ctrl+f5), tried commenting out code in update.js... nothing works. Does the MODx manager has it's own cache-folder that I could try deleting?

                      Regards

                      rich