updateFeature.getLayer().applyEdits(null, [updateFeature], null, function(){ map.infoWindow.hide(); });Solved! Go to Solution.
myLayer.applyEdits(null, [updateFeature], null).then(function(addResponse, updateResponse, deleteResponse){ console.log(addResponse, updateResponse, deleteResponse); });updateFeature.getLayer().applyEdits(null, [updateFeature], null, function(){
map.infoWindow.hide();
}, function(err) {
console.warn('Error occured: ', err);
});
myLayer.applyEdits(null, [updateFeature], null).then(function(addResponse, updateResponse, deleteResponse){ console.log(addResponse, updateResponse, deleteResponse); });