Save/load graphics to loacl storage

Discussion created by amarsden on Mar 15, 2013
Latest reply on Mar 15, 2013 by amarsden
I'm sure I was subscribed to a thread about this, but can't find it, so sorry, starting a new one.

I've got some code (that I've added to one of the samples here.) that uses the HTML5 local storage and then retrieving it on next login. (in total 10 lines of code, so I am quite pleased with my self, seeing this morning I had never used localstorage before)

This works fine, but I am now stuck over how to make any edits made to over-write the localstorage version of that option (including deletes) - obviously as it is read in some sort of unique ID needs to be assigned then used later on the edit - in my real app I use the right click  context menu editing feature.

Any help appreciated.