Fixing issues with locations onModified event

This commit is contained in:
Bruno Alves de Faria committed 2017-02-20 10:52:10 -03:00
1 parent 60a001043b
commit a742c8036d
5 files changed
+17 -7

No files matched your search

@@ -112,6 +112,9 @@ Template.dialogNonTargetMeasurement.onRendered(() => {
// Update the location and response after confirming the dialog data
instance.data.promise.then(formData => {
measurementData.response = formData.response;
measurementData.location = formData.location;
// Update the response for current measurement
collection.update({
_id: measurementData._id,