From e36e352b84bb15713c365562e5e4472b86eb7db2 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@bioforsk.no>
Date: Thu, 16 Jul 2015 15:03:57 +0200
Subject: [PATCH] Closing in now...

---
 .../templates/cerealblotchmodels/barleynetblotchform.html       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
index 2998d1d4..ce9e263f 100644
--- a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
+++ b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
@@ -231,7 +231,7 @@
                 var resultLine = "<tr><td>" + moment(data[row]["resultValidTime"]).format() + "</td>";
                 for(var i in allKeys)
                 {
-                	var value = data[item].allValues[allKeys[i]];
+                	var value = data[row].allValues[allKeys[i]];
                 	if(value != null && $.isNumeric(value))
                 	{
                 		value = parseFloat(value).toFixed(2);
-- 
GitLab