www/js/log_fermentation.js

changeset 194
d202777ebae5
parent 193
3cbd81ea9391
child 296
69fadd1aded2
--- a/www/js/log_fermentation.js	Sat Jan 19 20:42:11 2019 +0100
+++ b/www/js/log_fermentation.js	Mon Jan 21 20:45:18 2019 +0100
@@ -42,14 +42,15 @@
 			{ name: "date", type: "date", format: "yyyy-MM-dd HH:mm" },
 			{ name: "air", type: "float" },
 			{ name: "beer", type: "float" },
+			{ name: "chiller", type: "float" },
+			{ name: "room", type: "float" },
 			{ name: "tlo", type: "float" },
 			{ name: "thi", type: "float" },
 			{ name: "heater", type: "int" },
 			{ name: "cooler", type: "int" },
-			{ name: "room", type: "float" },
-			{ name: "chiller", type: "float" }
+			{ name: "event", type: "string" }
 		],
-		url: 'getfermentlog.php?code=' + my_code
+		url: 'getfermentlog.php?code=' + my_code + '&name=' + my_name
 	};
 	var dataAdapter = new $.jqx.dataAdapter(sourceA, {
 		autoBind: true,

mercurial