# HG changeset patch # User Michiel Broek # Date 1553973093 -3600 # Node ID 3323b02c1bbe0c36d2bdc2d2cc77d995d6c3b120 # Parent 4a8704b633760a24c99915163a517ca3d085ff6b Fix clearing water 2 volume during product load. diff -r 4a8704b63376 -r 3323b02c1bbe www/js/rec_edit.js --- a/www/js/rec_edit.js Sat Mar 30 20:10:34 2019 +0100 +++ b/www/js/rec_edit.js Sat Mar 30 20:11:33 2019 +0100 @@ -1200,7 +1200,7 @@ $("#w1_name").jqxDropDownList('selectItem', dataRecord.w1_name); $("#w2_name").jqxDropDownList('selectItem', dataRecord.w2_name); // Fix tap water if zero using mash infuse amount. - if (parseFloat($("#wg_amount").jqxNumberInput('decimal')) == 0 && mash_infuse > 0) { + if (parseFloat($("#w1_amount").jqxNumberInput('decimal')) == 0 && mash_infuse > 0) { $("#w1_amount").val(mash_infuse); dataRecord.w1_amount = mash_infuse; $("#wg_amount").val(mash_infuse);