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

Stefan Baebler stefan.baebler at gmail.com
Sun Jun 10 17:31:29 BST 2007


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

Bèrto 'd Sèra wrote:
> Hoi!
> 
>> negative means not uploaded,  
>> positive means uploaded.
> 
> That was it. I clearly remember negative numbers.
> 
> 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
>  
> 
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> 





More information about the talk mailing list