![]() |
|
You have unsaved changes! Are you sure you want to leave this page? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: You have unsaved changes! Are you sure you want to leave this page? (/thread-11811.html) |
You have unsaved changes! Are you sure you want to leave this page? - LondonLight.org - 2014-05-28 I used to use a nightly build from some 2-3 months ago, and Chromium annoyed me every time I left some tabs of the ZP admin interface without having changed, clicked or typed anything with a popup: I updated to 1.4.6 today, but the same issue persists. Do others experience this too? Is it ZP's fault or Chromium's? You have unsaved changes! Are you sure you want to leave this page? - acrylian - 2014-05-28 Yes, whenever you visit an admin page and change anything related to a form (like typing text and even removing it again or switching a selector), the form is "dirty" and Zenphoto warns about possible unsaved changes list if leaving. ZP uses a third party script and it might be a problem with Chromium. Test were made using IE, Firefox, Safari and Chrome so I don't think Chromium will behave that different. you probably did accidentally change something ;-) You have unsaved changes! Are you sure you want to leave this page? - Michel Gagnon - 2014-05-29 Maybe the administration page is a bit "dirty", but I noticed Google Chrome and especially Chromium tend to panic more often than Firefox. For example, if I click in a field without doing any modification, Firefox usually doesn't complain, but Chrome very often does. (And I'm not talking specifically about Zenphoto, but in general.) You have unsaved changes! Are you sure you want to leave this page? - acrylian - 2014-05-29 So this seems to be a special browser "overreaction" indeed. As the script is third party clicking on it might be considered to be a change. We use this script: https://github.com/codedance/jquery.AreYouSure/ You have unsaved changes! Are you sure you want to leave this page? - LondonLight.org - 2014-06-03 I'm sure I didn't react with any of the reported pages in any way. I tested just now with the new script (simply dropping it in the old one's place and reloading the page is enough, right?) and no difference to any of the pages. You have unsaved changes! Are you sure you want to leave this page? - acrylian - 2014-06-03 I can only assume a browser bug then. Seems to work fine for me and never bugs me (well, it does but in a good intention ;-)). You have unsaved changes! Are you sure you want to leave this page? - LondonLight.org - 2014-06-11 I compiled chromium-36.0.1985.49 (before that had 35.0.1916.114) but it still nags me as reported above. When I set line 81 to false it stops nagging me, it also stops "protecting" me but that is currently preferable
You have unsaved changes! Are you sure you want to leave this page? - acrylian - 2014-06-11 I can understand that it nags you. Still no other idea than what you did actually. But it is just a helper, best is to know yourself when you have unsaved changes :-) |