[OSM-talk] Potlatch: do I need to save my edits?

Bèrto 'd Sèra berto.d.sera at gmail.com
Sun Jun 10 17:33:58 BST 2007


Hoi!

It would make sense for me. Most new users aren't going to be aware of how
the autosaver works.

Bèrto ‘d Sèra
Skype: berto.d.sera
Personagi dl’ann 2006 për l’arvista american-a Time (tanme tuti vojàotri)
http://www.time.com/time/magazine/article/0,9171,1569514,00.html
 
-----Original Message-----
From: Stefan Baebler [mailto:stefan.baebler at gmail.com] 
Sent: Sunday, June 10, 2007 7:31 PM
To: Bèrto 'd Sèra
Cc: 'OSM Openstreetmap'
Subject: Re: [OSM-talk] Potlatch: do I need to save my edits?

Hi!

All the fuss about potlatch saving or not got me thinking...

Wouldn't it be better to (in addition to existing auto save) offer a 
"Save" button to make things clearer (eg. one could force save without 
de-selecting a way). It would get disabled whenever there is nothing to 
save (eg. when everything was just saved).

It would also make sense to make a javascript hook in the page's 
beforeunload event, which would ask the flash app if it is ok to save 
and in case of unsaved edits ask user to confirm loosing changes or 
cancel closing the page. Java applets can communicate with javascript if 
they are embedded with attribute ALLOWSCRIPTING=true, but don't know how 
this is done with flash, but it should be possible somehow.

I believe google docs does something similar, but there is no flash, 
just javascript, some timer(?) and beforeunload event handler.

Stefan






More information about the talk mailing list