change editStore.editExists error msg

This commit is contained in:
Andy Gup 2015-07-28 15:25:14 -06:00
parent 865bd3ec6b
commit 1df856a7a4

View File

@ -819,7 +819,7 @@ O.esri.Edit.EditStore = function () {
};
/**
* Verify is an edit already exists in the database. Checks the objectId and layerId.
* Verify is an edit already exists in the database. Checks the objectId.
* @param id
* @returns {deferred} {success: boolean, error: message}
* @private
@ -844,7 +844,7 @@ O.esri.Edit.EditStore = function () {
deferred.resolve({success: true, error: null});
}
else {
deferred.reject({success: false, error: "Layer id is not a match."});
deferred.reject({success: false, error: "objectId is not a match."});
}
};