mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
problem found
This commit is contained in:
parent
0f5ebdd51f
commit
f6f9483e10
@ -12,6 +12,7 @@
|
||||
- 'loader.gif' when replaying edits to server, OK
|
||||
- unit tests, OK
|
||||
|
||||
- going online fails if all edits cancel themselves (for instance one add + one delete)
|
||||
- unit tests for failure cases
|
||||
- explicit feedback to user when QuotaError happens
|
||||
- goOnline()/goOffline() automatically
|
||||
|
||||
@ -165,7 +165,10 @@ define([
|
||||
break;
|
||||
case editsStore.DELETE:
|
||||
if(objectId < 0)
|
||||
{
|
||||
delete layerEdits[ objectId ];
|
||||
optimizedCount -= 1;
|
||||
}
|
||||
else
|
||||
layerEdits[objectId].operation = editsStore.DELETE;
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user