www/js/inv_fermentables.js

changeset 245
3649c3d31d15
parent 202
64a9c935a66b
child 269
25696a91b395
--- a/www/js/inv_fermentables.js	Tue Feb 05 23:09:52 2019 +0100
+++ b/www/js/inv_fermentables.js	Wed Feb 06 15:14:41 2019 +0100
@@ -148,18 +148,18 @@
 		height: 23,
 		autoDropDownHeight: true
 	});
-	$("#yield").jqxNumberInput( Spin1dec1 );
-	$("#color").jqxNumberInput( Spin1dec5 );
+	$("#yield").jqxNumberInput( Spin1dec );
+	$("#color").jqxNumberInput( Spin1dec );
 	$("#add_after_boil").jqxCheckBox({ theme: theme, width: 120, height: 23 });
 	$("#origin").jqxInput({ theme: theme, width: 250, height: 23 });
 	$("#supplier").jqxInput({ theme: theme, width: 250, height: 23 });
 	$("#notes").jqxInput({ theme: theme, width: 640, height: 100 });
-	$("#coarse_fine_diff").jqxNumberInput( Spin1dec1 );
-	$("#moisture").jqxNumberInput( Spin1dec1 );
-	$("#diastatic_power").jqxNumberInput( Spin1dec1 );
-	$("#protein").jqxNumberInput( Spin1dec1 );
-	$("#dissolved_protein").jqxNumberInput( Spin1dec1 );
-	$("#max_in_batch").jqxNumberInput( Perc1dec5 );
+	$("#coarse_fine_diff").jqxNumberInput( Spin1dec );
+	$("#moisture").jqxNumberInput( Spin1dec );
+	$("#diastatic_power").jqxNumberInput( Spin1dec );
+	$("#protein").jqxNumberInput( Spin1dec );
+	$("#dissolved_protein").jqxNumberInput( Spin1dec );
+	$("#max_in_batch").jqxNumberInput( Perc1dec );
 	$("#recommend_mash").jqxCheckBox({ theme: theme, width: 120, height: 23 });
 	$("#added").jqxDropDownList({
 		theme: theme,
@@ -182,11 +182,11 @@
 		height: 23,
 		autoDropDownHeight: true
 	});
-	$("#inventory").jqxNumberInput( Spin1dec1 );
+	$("#inventory").jqxNumberInput( Spin1dec );
 	$("#production_date").jqxDateTimeInput( Dateopts );
-	$("#cost").jqxNumberInput( Spin2dec1 );
+	$("#cost").jqxNumberInput( Spin2dec );
 	$("#tht_date").jqxDateTimeInput( Dateopts );
-	$("#totval").jqxNumberInput( Spin2dec1 );
+	$("#totval").jqxNumberInput( Spin2dec );
 	$("#totval").jqxNumberInput({ width: 90, readOnly: true, spinButtons: false });
 
 	var dataAdapter = new $.jqx.dataAdapter(source);

mercurial