mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
remove manual serialization
This commit is contained in:
parent
1da1bb007b
commit
592b7d6786
@ -43,7 +43,7 @@ O.esri.Edit.EditStore = function()
|
||||
id: layerUrl + "/" + graphic.attributes.objectid,
|
||||
operation: operation,
|
||||
layer: layerUrl,
|
||||
graphic: this._serialize(graphic)
|
||||
graphic: graphic
|
||||
};
|
||||
|
||||
var transaction = this._db.transaction([objectStoreName],"readwrite");
|
||||
@ -350,7 +350,7 @@ O.esri.Edit.EditStore = function()
|
||||
/**
|
||||
* Deletes an individual graphic from the phantom layer
|
||||
* @param id
|
||||
* @param callback
|
||||
* @param callback callback(boolean, message)
|
||||
*/
|
||||
this.deletePhantomGraphic = function(id,callback){
|
||||
// NOTE: the implementation of the IndexedDB spec has a design fault with respect to
|
||||
@ -412,7 +412,7 @@ O.esri.Edit.EditStore = function()
|
||||
};
|
||||
|
||||
/**
|
||||
* Removes phantom graphics from database
|
||||
* Removes all phantom graphics from database
|
||||
* @param callback boolean
|
||||
*/
|
||||
this.resetPhantomGraphicsQueue = function(callback){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user