Last modified: 2013-04-22 16:16:59 UTC
The current "Your edit was saved." popup is displayed multiple times when using the back button in the Opera browser. Steps to reproduce: 1. Use the current Opera 12.02. 2. Edit and save a page. 3. Click a link. 4. Click the back button. There it is. The popup is displayed again. From what I know this is an Opera-only issue. The reason is how the back button in Opera works (how the back button works is a reason why I love Opera, by the way). I'm not sure if it's possible to fix this. Maybe Opera simply plays the CSS3 transition again. There is no way to fix this. But maybe it can be fixed in the JavaScript code by introducing a global boolean variable, for example.
I see you are using a cookie. Maybe its possible to drop the cookie in the moment the JavaScript code displayed the popup for the first time. Would be a single line of code, I think.
I can confirm this in Chrome as well. This has the potential to be confusing as a user might think they've accidentally performed another edit.
CC'ing the maintainers of PostEdit. Wondering whether maintainers are interesting in having a dedicated Bugzilla component to easier query for/find bug reports about PostEdit?
In review / merge queue: https://gerrit.wikimedia.org/r/#/c/28804/1 Andre, a dedicated component would indeed be useful. Thanks.
I am seeing this in Chrome as well, so
I can confirm this is fixed. Thanks.