diff -r e1c50b21b7e3 -r 93a0be4f5be3 www/js/rec_new.js --- a/www/js/rec_new.js Thu Sep 27 23:13:41 2018 +0200 +++ b/www/js/rec_new.js Fri Sep 28 17:29:23 2018 +0200 @@ -164,7 +164,8 @@ st_letter: $('#st_style_letter').val(), st_guide: $('#st_style_guide').val(), st_category: $('#st_category').val(), - st_category_number: $('#st_category_number').val(), + st_category_number: parseFloat($('#st_category_number').jqxNumberInput('decimal')), + st_type: $("#st_type").val(), st_og_min: parseFloat($("#st_og_min").jqxNumberInput('decimal')), st_og_max: parseFloat($("#st_og_max").jqxNumberInput('decimal')), st_fg_min: parseFloat($("#st_fg_min").jqxNumberInput('decimal')), @@ -177,7 +178,6 @@ st_carb_max: parseFloat($("#st_carb_max").jqxNumberInput('decimal')), st_abv_min: parseFloat($("#st_abv_min").jqxNumberInput('decimal')), st_abv_max: parseFloat($("#st_abv_max").jqxNumberInput('decimal')), - st_type: $("#st_type").val(), type: $("#type").val(), batch_size: 20.0, boil_time: parseFloat($("#boil_time").jqxNumberInput('decimal')), @@ -185,6 +185,8 @@ est_og: parseFloat($("#est_og").jqxNumberInput('decimal')), est_fg: 1.000, est_color: 0, + est_abv: 0.0, + est_carb: 0.0, color_method: "Morey", est_ibu: 0, ibu_method: "Tinseth",