From 1df856a7a47a9c102becdba0deaf8b039a3b242c Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Tue, 28 Jul 2015 15:25:14 -0600 Subject: [PATCH] change editStore.editExists error msg --- lib/edit/editsStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/edit/editsStore.js b/lib/edit/editsStore.js index 47b8499..bcd4441 100644 --- a/lib/edit/editsStore.js +++ b/lib/edit/editsStore.js @@ -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."}); } };