16 Commits

Author SHA1 Message Date
Javier Abadia
08a97f2c7b trying to catch quota errors at application level... not that easy! 2014-02-11 22:40:17 +01:00
Javier Abadia
d8c69da02a removed check for duplicate edits, they actually make sense in a repeated undo/redo scenario 2014-02-05 00:06:48 +01:00
Javier Abadia
ea17b7af46 better handling of pushEdit() errors 2014-02-04 11:54:02 +01:00
Javier Abadia
8c05c4c966 method not needed (and unit test neither) 2014-02-04 11:52:24 +01:00
Javier Abadia
9036dbcbc1 removed undo/redo support at low level 2014-02-04 11:52:12 +01:00
Javier Abadia
fcfde60396 fixed the local updating of graphics for offline edits... now working! 2014-01-29 18:32:51 +01:00
Javier Abadia
eb21ab750c fix bug reported by Andy
added new task in the ISSUES.md
2014-01-29 09:42:03 +01:00
Javier Abadia
0bbf9ca83a take care of updates for features added offline (replace negative tmp id by final id)
still has the problem with the Editor that removes the graphic from the layer after the update
2014-01-28 23:20:39 +01:00
Javier Abadia
0f35c55f7b getEditsStoreSizeBytes() works also when the localStorage is not initialized (our keys don't exist) 2014-01-28 23:20:39 +01:00
Javier Abadia
1f2c10e0ea prevent attributeEditor to appear after replaying the stored edits
be careful with updates for features added offline (replace tmp id by final id), (ongoing)
2014-01-28 23:20:39 +01:00
Javier Abadia
35ca131086 controlling QuotaError when localStorage is full 2014-01-28 23:20:38 +01:00
Javier Abadia
2918f449e8 added reminder for work to do 2014-01-28 23:20:38 +01:00
Javier Abadia
a7b2705803 it's starting to work 2014-01-28 23:20:37 +01:00
Javier Abadia
d29dfb8b85 added methods:
isSupported()
getEditsStoreSizeBytes()
getLocalStorageSizeBytes()
2014-01-21 23:25:49 +01:00
Javier Abadia
6c6fb11086 methods return the element to undo/redo or null 2014-01-21 18:29:07 +01:00
Javier Abadia
008edaf67b renamed graphicsStore -> editsStore 2014-01-21 10:24:58 +01:00