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:
http://i.imgur.com/O86riXi.pngConfirm Navigation
You have unsaved changes!
Are you sure you want to leave this page?
[Stay on this Page] [Leave this Page]
I updated to 1.4.6 today, but the same issue persists.
This appears every time I try to leave the following:
Albums > Album
Options > Gallery
Options > Image
Options > Search
Do others experience this too? Is it ZP's fault or Chromium's?
Comments
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 ;-)
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.)
I see there just has been an update. Maybe you could try that? The script is in `zp-core/js/`.
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.
When I set line 81 to false it stops nagging me, it also stops "protecting" me but that is currently preferable
`
jquery.are-you-sure.js
79 // Test on the target first as it's the most likely to be dirty
80 if (isFieldDirty($(evt.target))) {
81 setDirtyStatus($form, false);
82 return;
83 }
`