mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
change editStore.editExists error msg
This commit is contained in:
parent
865bd3ec6b
commit
1df856a7a4
@ -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
|
* @param id
|
||||||
* @returns {deferred} {success: boolean, error: message}
|
* @returns {deferred} {success: boolean, error: message}
|
||||||
* @private
|
* @private
|
||||||
@ -844,7 +844,7 @@ O.esri.Edit.EditStore = function () {
|
|||||||
deferred.resolve({success: true, error: null});
|
deferred.resolve({success: true, error: null});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
deferred.reject({success: false, error: "Layer id is not a match."});
|
deferred.reject({success: false, error: "objectId is not a match."});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user