Λογότυπο OpenStreetMap OpenStreetMap

Potlatch 2 - no reminder to save

Δημοσιεύτηκε από τον/την geowas στις 13 Δεκέμβριος 2010 στα German (Deutsch).

Grrrr...... whywhywhywhy does Potlatch not ask/remind me to save my changes when clicking on [Map]? For a second time I lost a huge stack of changes :(

Εικονίδιο email Εικονίδιο Bluesky Εικονίδιο Facebook Εικονίδιο LinkedIn Εικονίδιο Mastodon Εικονίδιο Telegram Εικονίδιο X

Συζήτηση

Σχόλιο από τον/την evolvedlight στις 13 Δεκέμβριος 2010 στις 20:13

Mine does? I click "Edit", click to add a road, then click "View" at the top, and it asks me to confirm. What is this "Map" link, and what browser?

Σχόλιο από τον/την geowas στις 13 Δεκέμβριος 2010 στις 20:37

[Map] = [View] ;) My German version says [Karte], so I guessed (wrong) it was [Map]...

My browser for that matter is Opera 10.63 on a WinXP machine.

Σχόλιο από τον/την Sanderd17 στις 13 Δεκέμβριος 2010 στις 20:47

This will only happen once. I have learned to save every five minutes.

Σχόλιο από τον/την geowas στις 13 Δεκέμβριος 2010 στις 20:48

Twice. But now I have learned, too.

Σχόλιο από τον/την Andy Allan στις 14 Δεκέμβριος 2010 στις 09:53

It should pop up a javascript alert box - potlatch2 knows when you have stuff to save (it enables the save button) and at the same time tells the html page to alert during the onbeforeunload event.

https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/site/_potlatch2.html.erb#L15

Unfortunately it appears that Opera are alone in not firing the onbeforeunload event. You should contact their support team and ask them to add support.

Σχόλιο από τον/την geowas στις 14 Δεκέμβριος 2010 στις 10:19

Thanks Andy. Did as recommended.

Συνδεθείτε για να αφήσετε ένα σχόλιο