remove manual serialization

This commit is contained in:
Andy Gup 2015-03-06 15:46:25 -07:00
parent 1da1bb007b
commit 592b7d6786

View File

@ -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){